#1F2FA0#1F2FA0
#1F2FA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.181 H 268.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2FA0 |
|---|---|
| RGB | rgb(31, 47, 160) |
| HSL | hsl(233, 68%, 37%) |
| HSV | hsv(233, 81%, 63%) |
| CMYK | cmyk(80.6%, 70.6%, 0%, 37.3%) |
| CIE-LAB | lab(26.34, 35.95, -62.39) |
| CIE-LCH | lch(26.34, 72.00, 299.95°) |
| OKLab | oklab(37.96% -0.0038 -0.1807) |
| OKLCH | oklch(37.96% 0.181 268.8) |
| XYZ | xyz(7.9246, 4.8615, 33.7716) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.83
Royal
#0C1793
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 6.40
Blueberry
#464196
ΔE00 6.77
Blue Blue
#2242C7
ΔE00 7.23
Cobalt Blue
#030AA7
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2FA0 #A0901F
analogous
#1F70A0 #1F2FA0 #4F1FA0
triadic
#1F2FA0 #A01F2F #2FA01F
tetradic
#1F2FA0 #A01F70 #A0901F #1FA04F
square
#1F2FA0 #A01F70 #A0901F #1FA04F
split-complementary
#1F2FA0 #A04F1F #70A01F
monochromatic
#0B1139 #15206D #1F2FA0 #293ED3 #5A6BDF
Accessibility & contrast
On white
10.65
#1F2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1F2FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2FA0
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2FA0 | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f2fa0; /* rgb */ color: rgb(31, 47, 160); /* oklch */ color: oklch(38.0% 0.181 268.8);
Tailwind
colors: {
custom: {
50: '#7268bd',
500: '#1f2fa0',
950: '#000000',
},
}SCSS
$custom: #1f2fa0; $custom-light: #7268bd; $custom-dark: #000000;
JSON
{
"hex": "#1f2fa0",
"rgb": {
"r": 31,
"g": 47,
"b": 160
},
"hsl": {
"h": 232.558,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.37956,
"c": 0.18076,
"h": 268.8
},
"luminance": 0.04862
}Semantic roles & 50–950 ramp
primary
#1F2FA0
secondary
#C3B658
accent
#D53DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81