#203F98#203F98
#203F98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.150 H 265.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #203F98 |
|---|---|
| RGB | rgb(32, 63, 152) |
| HSL | hsl(225, 65%, 36%) |
| HSV | hsv(225, 79%, 60%) |
| CMYK | cmyk(78.9%, 58.6%, 0%, 40.4%) |
| CIE-LAB | lab(29.73, 22.35, -51.95) |
| CIE-LCH | lch(29.73, 56.55, 293.28°) |
| OKLab | oklab(40.25% -0.012 -0.15) |
| OKLCH | oklch(40.25% 0.15 265.4) |
| XYZ | xyz(8.0387, 6.1282, 30.4589) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.87
Cobalt (survey)
#1E488F
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.11
Darkish Blue
#014182
ΔE00 5.25
Blueberry
#464196
ΔE00 5.69
Twilight Blue
#0A437A
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#203F98 #987920
analogous
#207B98 #203F98 #3D2098
triadic
#203F98 #98203F #3F9820
tetradic
#203F98 #98207B #987920 #20983D
square
#203F98 #98207B #987920 #20983D
split-complementary
#203F98 #983D20 #7B9820
monochromatic
#0B1533 #152A65 #203F98 #2B54CB #5779DC
Accessibility & contrast
On white
9.43
#203F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#203F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #203F98
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##203F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##203F98 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #203f98; /* rgb */ color: rgb(32, 63, 152); /* oklch */ color: oklch(40.2% 0.150 265.4);
Tailwind
colors: {
custom: {
50: '#6f73b7',
500: '#203f98',
950: '#000000',
},
}SCSS
$custom: #203f98; $custom-light: #6f73b7; $custom-dark: #000000;
JSON
{
"hex": "#203f98",
"rgb": {
"r": 32,
"g": 63,
"b": 152
},
"hsl": {
"h": 224.5,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.40249,
"c": 0.15048,
"h": 265.4
},
"luminance": 0.06129
}Semantic roles & 50–950 ramp
primary
#203F98
secondary
#BFA454
accent
#BD40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80