#1F3DA7#1F3DA7
#1F3DA7 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.174 H 266.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3DA7 |
|---|---|
| RGB | rgb(31, 61, 167) |
| HSL | hsl(227, 69%, 39%) |
| HSV | hsv(227, 81%, 65%) |
| CMYK | cmyk(81.4%, 63.5%, 0%, 34.5%) |
| CIE-LAB | lab(30.44, 29.44, -59.87) |
| CIE-LCH | lch(30.44, 66.72, 296.18°) |
| OKLab | oklab(41.16% -0.0113 -0.1733) |
| OKLCH | oklch(41.16% 0.174 266.3) |
| XYZ | xyz(9.2064, 6.4177, 37.3052) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.87
Cobalt
#0047AB
ΔE00 4.18
Blue Blue
#2242C7
ΔE00 4.56
Blueberry
#464196
ΔE00 5.68
Cobalt (survey)
#1E488F
ΔE00 6.04
Ocean Blue
#4F42B5
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3DA7 #A7891F
analogous
#1F81A7 #1F3DA7 #451FA7
triadic
#1F3DA7 #A71F3D #3DA71F
tetradic
#1F3DA7 #A71F81 #A7891F #1FA745
square
#1F3DA7 #A71F81 #A7891F #1FA745
split-complementary
#1F3DA7 #A7451F #81A71F
monochromatic
#0C1740 #152A73 #1F3DA7 #2B51D8 #5F7CE1
Accessibility & contrast
On white
9.20
#1F3DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1F3DA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3DA7
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3DA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3DA7 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f3da7; /* rgb */ color: rgb(31, 61, 167); /* oklch */ color: oklch(41.2% 0.174 266.3);
Tailwind
colors: {
custom: {
50: '#7372c2',
500: '#1f3da7',
950: '#000000',
},
}SCSS
$custom: #1f3da7; $custom-light: #7372c2; $custom-dark: #000000;
JSON
{
"hex": "#1f3da7",
"rgb": {
"r": 31,
"g": 61,
"b": 167
},
"hsl": {
"h": 226.765,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.41164,
"c": 0.17365,
"h": 266.3
},
"luminance": 0.06419
}Semantic roles & 50–950 ramp
primary
#1F3DA7
secondary
#C6AE5C
accent
#C53CEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81