#1F209F#1F209F
#1F209F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.194 H 270.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F209F |
|---|---|
| RGB | rgb(31, 32, 159) |
| HSL | hsl(240, 67%, 37%) |
| HSV | hsv(240, 81%, 62%) |
| CMYK | cmyk(80.5%, 79.9%, 0%, 37.6%) |
| CIE-LAB | lab(23.09, 44.41, -67.14) |
| CIE-LCH | lch(23.09, 80.50, 303.48°) |
| OKLab | oklab(35.61% 0.0019 -0.1944) |
| OKLCH | oklch(35.61% 0.194 270.6) |
| XYZ | xyz(7.3375, 3.8267, 33.1461) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.74
Cobalt Blue
#030AA7
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 3.98
Royal Blue (survey)
#0504AA
ΔE00 4.15
Ultramarine
#2000B1
ΔE00 4.53
True Blue
#010FCC
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F209F #9F9E1F
analogous
#1F609F #1F209F #5E1F9F
triadic
#1F209F #9F1F20 #209F1F
tetradic
#1F209F #9F1F60 #9F9E1F #1F9F5E
square
#1F209F #9F1F60 #9F9E1F #1F9F5E
split-complementary
#1F209F #9F5E1F #609F1F
monochromatic
#0B0B39 #15166C #1F209F #292AD2 #5A5BDF
Accessibility & contrast
On white
11.89
#1F209F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1F209F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F209F
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F209F | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f209f; /* rgb */ color: rgb(31, 32, 159); /* oklch */ color: oklch(35.6% 0.194 270.6);
Tailwind
colors: {
custom: {
50: '#745ebd',
500: '#1f209f',
950: '#000000',
},
}SCSS
$custom: #1f209f; $custom-light: #745ebd; $custom-dark: #000000;
JSON
{
"hex": "#1f209f",
"rgb": {
"r": 31,
"g": 32,
"b": 159
},
"hsl": {
"h": 239.531,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.35612,
"c": 0.19443,
"h": 270.6
},
"luminance": 0.03828
}Semantic roles & 50–950 ramp
primary
#1F209F
secondary
#C3C257
accent
#E93EEA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981