#1F2BA0#1F2BA0
#1F2BA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.185 H 269.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2BA0 |
|---|---|
| RGB | rgb(31, 43, 160) |
| HSL | hsl(234, 68%, 37%) |
| HSV | hsv(234, 81%, 63%) |
| CMYK | cmyk(80.6%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(25.43, 38.44, -63.88) |
| CIE-LCH | lch(25.43, 74.55, 301.04°) |
| OKLab | oklab(37.3% -0.0021 -0.1851) |
| OKLCH | oklch(37.3% 0.185 269.4) |
| XYZ | xyz(7.7719, 4.5562, 33.7207) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.80
Royal
#0C1793
ΔE00 4.94
Indigo Blue
#3A18B1
ΔE00 5.50
Cobalt Blue
#030AA7
ΔE00 6.15
Royal Blue (survey)
#0504AA
ΔE00 6.68
True Blue
#010FCC
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2BA0 #A0941F
analogous
#1F6BA0 #1F2BA0 #541FA0
triadic
#1F2BA0 #A01F2B #2BA01F
tetradic
#1F2BA0 #A01F6B #A0941F #1FA054
square
#1F2BA0 #A01F6B #A0941F #1FA054
split-complementary
#1F2BA0 #A0541F #6BA01F
monochromatic
#0B0F39 #151D6D #1F2BA0 #2939D3 #5A67DF
Accessibility & contrast
On white
10.99
#1F2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1F2BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2BA0
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2BA0 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f2ba0; /* rgb */ color: rgb(31, 43, 160); /* oklch */ color: oklch(37.3% 0.185 269.4);
Tailwind
colors: {
custom: {
50: '#7365bd',
500: '#1f2ba0',
950: '#000000',
},
}SCSS
$custom: #1f2ba0; $custom-light: #7365bd; $custom-dark: #000000;
JSON
{
"hex": "#1f2ba0",
"rgb": {
"r": 31,
"g": 43,
"b": 160
},
"hsl": {
"h": 234.419,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.37304,
"c": 0.18507,
"h": 269.4
},
"luminance": 0.04557
}Semantic roles & 50–950 ramp
primary
#1F2BA0
secondary
#C3B958
accent
#DA3DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81