#1F3DA8#1F3DA8
#1F3DA8 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.175 H 266.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3DA8 |
|---|---|
| RGB | rgb(31, 61, 168) |
| HSL | hsl(227, 69%, 39%) |
| HSV | hsv(227, 82%, 66%) |
| CMYK | cmyk(81.5%, 63.7%, 0%, 34.1%) |
| CIE-LAB | lab(30.53, 29.83, -60.33) |
| CIE-LCH | lch(30.53, 67.30, 296.31°) |
| OKLab | oklab(41.26% -0.0113 -0.1746) |
| OKLCH | oklch(41.26% 0.175 266.3) |
| XYZ | xyz(9.2992, 6.4548, 37.7940) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.79
Cobalt
#0047AB
ΔE00 4.21
Blue Blue
#2242C7
ΔE00 4.42
Blueberry
#464196
ΔE00 5.72
Cobalt (survey)
#1E488F
ΔE00 6.14
Ocean Blue
#4F42B5
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3DA8 #A88A1F
analogous
#1F82A8 #1F3DA8 #461FA8
triadic
#1F3DA8 #A81F3D #3DA81F
tetradic
#1F3DA8 #A81F82 #A88A1F #1FA846
square
#1F3DA8 #A81F82 #A88A1F #1FA846
split-complementary
#1F3DA8 #A8461F #82A81F
monochromatic
#0C1741 #152A74 #1F3DA8 #2C52D8 #607CE2
Accessibility & contrast
On white
9.17
#1F3DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F3DA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3DA8
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3DA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3DA8 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f3da8; /* rgb */ color: rgb(31, 61, 168); /* oklch */ color: oklch(41.3% 0.175 266.3);
Tailwind
colors: {
custom: {
50: '#7372c3',
500: '#1f3da8',
950: '#000000',
},
}SCSS
$custom: #1f3da8; $custom-light: #7372c3; $custom-dark: #000000;
JSON
{
"hex": "#1f3da8",
"rgb": {
"r": 31,
"g": 61,
"b": 168
},
"hsl": {
"h": 226.861,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.41258,
"c": 0.17498,
"h": 266.3
},
"luminance": 0.06456
}Semantic roles & 50–950 ramp
primary
#1F3DA8
secondary
#C6AF5D
accent
#C53CEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82