#1F209E#1F209E
#1F209E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.193 H 270.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F209E |
|---|---|
| RGB | rgb(31, 32, 158) |
| HSL | hsl(240, 67%, 37%) |
| HSV | hsv(240, 80%, 62%) |
| CMYK | cmyk(80.4%, 79.7%, 0%, 38%) |
| CIE-LAB | lab(22.97, 44.08, -66.73) |
| CIE-LCH | lch(22.97, 79.97, 303.45°) |
| OKLab | oklab(35.49% 0.0021 -0.1932) |
| OKLCH | oklch(35.49% 0.193 270.6) |
| XYZ | xyz(7.2510, 3.7921, 32.6909) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.65
Cobalt Blue
#030AA7
ΔE00 3.65
Indigo Blue
#3A18B1
ΔE00 4.08
Royal Blue (survey)
#0504AA
ΔE00 4.20
Ultramarine
#2000B1
ΔE00 4.61
True Blue
#010FCC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F209E #9E9D1F
analogous
#1F5F9E #1F209E #5E1F9E
triadic
#1F209E #9E1F20 #209E1F
tetradic
#1F209E #9E1F5F #9E9D1F #1F9E5E
square
#1F209E #9E1F5F #9E9D1F #1F9E5E
split-complementary
#1F209E #9E5E1F #5F9E1F
monochromatic
#0B0B38 #15166B #1F209E #292AD1 #595ADE
Accessibility & contrast
On white
11.94
#1F209E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1F209E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F209E
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F209E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F209E | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f209e; /* rgb */ color: rgb(31, 32, 158); /* oklch */ color: oklch(35.5% 0.193 270.6);
Tailwind
colors: {
custom: {
50: '#735ebc',
500: '#1f209e',
950: '#000000',
},
}SCSS
$custom: #1f209e; $custom-light: #735ebc; $custom-dark: #000000;
JSON
{
"hex": "#1f209e",
"rgb": {
"r": 31,
"g": 32,
"b": 158
},
"hsl": {
"h": 239.528,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.35495,
"c": 0.19323,
"h": 270.6
},
"luminance": 0.03793
}Semantic roles & 50–950 ramp
primary
#1F209E
secondary
#C2C156
accent
#E93EEA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981