Skip to content

#203eb2

a dark, vivid blue · cool · closest name: Dark Slate Blue

RGB
32, 62, 178
HSL
228°, 70%, 41%
CMYK
82, 65, 0, 30
Luminance
0.0697

At a glance

Every number on this page in one read: what #203eb2 is made of, how bright it looks, and which way it leans.

Hex
#203eb2
Hue
228°
blue
Saturation
70%
vivid
Lightness
41%
dark
Brightness
70%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0697
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.77:1
Closest name
Dark Slate Blue
ΔE2000 8.1
Where it sits
Hue228° of 360°
Saturation70%
Lightness41%
Temperature
Warm ← → Cool90% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#203eb2
RGBrgb(32, 62, 178)
HSLhsl(228, 70%, 41%)
CMYKcmyk(82%, 65%, 0%, 30%)
LABlab(31.7 33.0 -64.3)
LCHlch(31.7 72.3 297.2)
OKLCHoklch(0.424 0.187 266.5)
Decimal2113202
Display P3color(display-p3 0.125 0.243 0.698)

Copy-ready code

/* CSS */
color: #203eb2;
background-color: #203eb2;
/* Tailwind (arbitrary) */
class="text-[#203eb2] bg-[#203eb2]"
/* SCSS */
$brand: #203eb2;
/* SwiftUI */
Color(red: 0.125, green: 0.243, blue: 0.698)
/* Android */
Color.parseColor("#203eb2")
/* Flutter */
Color(0xFF203EB2)
/* Python / OpenCV (BGR) */
(178, 62, 32)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #203eb2 · 8.77:1
Use #ffffffAAA at every size.
Aa
White text · 8.77:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.39:1
AA fail · AA large fail · AAA fail
Reading the other direction: #203eb2 as text scores 8.77:1 on white and 2.39:1 on black.

Accessibility — WCAG contrast

Aa
#203eb2 on white: 8.77:1
AA ✓ pass · AA-large · AAA
Aa
#203eb2 on black: 2.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052B6
deuteranopia · #0044B0
tritanopia · #005D72

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #203eb2 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F5FB
#E7EBF8
#CAD2F2
#A0B0EE
#7088E5
#4161DD
#2548CF
#203eb2
#19308A
#162664
#0E183F
Base = 700Lightest = 50 · #F3F5FBDarkest = 950 · #0E183F
:root {
  --brand-50: #F3F5FB;
  --brand-100: #E7EBF8;
  --brand-200: #CAD2F2;
  --brand-300: #A0B0EE;
  --brand-400: #7088E5;
  --brand-500: #4161DD;
  --brand-600: #2548CF;
  --brand-700: #203eb2;
  --brand-800: #19308A;
  --brand-900: #162664;
  --brand-950: #0E183F;
  --brand: #203eb2;
  --brand-ink: #ffffff;
}

Colors that work with #203eb2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#B6701C
Second voice, not a rival
Dark variant#13266C
Hover, pressed, headers
Light variant#E9EDFB
Selected rows, tints
Dark surface#141724
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #203eb2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#B29420
Analogous left#2087B2
Analogous right#4B20B2
Split-complement 1#B24B20
Split-complement 2#87B220
Triadic 1#B2203E
Triadic 2#3EB220
Tetradic#B22087

RGB percentages

Red12.5%
Green24.3%
Blue69.8%

CMYK percentages

Cyan82.0%
Magenta65.2%
Yellow0.0%
Key (black)30.2%

Color previews

#203eb2 text on a black background

contrast 2.39:1

Card sample

#203eb2 text on a white background

contrast 8.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #203eb2;
Background color
Panel with #203eb2 background
background-color: #203eb2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #203eb2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(32, 62, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 62, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #203eb2;
background: linear-gradient(135deg, #203eb2, #6320B2);

Monochromatic scale

Palettes built from #203eb2

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#203eb2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#203eb2, answered

What color is #203eb2?

#203eb2 is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 8.1). It sits at 228° on the hue wheel with 70% saturation and 41% lightness, which reads as cool.

What is the RGB value of #203eb2?

rgb(32, 62, 178) — 32 red, 62 green and 178 blue out of 255, or 12.5% / 24.3% / 69.8% by channel.

Is #203eb2 a light or a dark color?

It is a dark color. Relative luminance is 0.0697 and perceived brightness is 31%, so white text on it reaches 8.77:1.

Should I use black or white text on #203eb2?

White. It scores 8.77:1 against #203eb2, versus 2.39:1 for black — AAA at any size.

What is the complementary color of #203eb2?

#B29420 sits directly opposite on the wheel. Softer options are the split-complements #B24B20 and #87B220, which give the same contrast with far less vibration.

What colors go well with #203eb2?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #B6701C as an accent and #13266C for hover and pressed states. For a palette, the analogous pair #2087B2 and #4B20B2 stays calm, while #B29420 is the loudest partner.

What is #203eb2 in CMYK for printing?

cmyk(82%, 65%, 0%, 30%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #203eb2 warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3820B2; nudged cooler, #1E54B4.

Work with #203eb2 in the Color Lab