#1F369B#1F369B
#1F369B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.166 H 267.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F369B |
|---|---|
| RGB | rgb(31, 54, 155) |
| HSL | hsl(229, 67%, 36%) |
| HSV | hsv(229, 80%, 61%) |
| CMYK | cmyk(80%, 65.2%, 0%, 39.2%) |
| CIE-LAB | lab(27.56, 29.51, -57.33) |
| CIE-LCH | lch(27.56, 64.48, 297.23°) |
| OKLab | oklab(38.7% -0.0071 -0.1659) |
| OKLCH | oklch(38.7% 0.166 267.6) |
| XYZ | xyz(7.7986, 5.2953, 31.6151) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.34
Blueberry
#464196
ΔE00 5.71
Cobalt
#0047AB
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.71
Blue Blue
#2242C7
ΔE00 6.71
Cobalt (survey)
#1E488F
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F369B #9B841F
analogous
#1F749B #1F369B #461F9B
triadic
#1F369B #9B1F36 #369B1F
tetradic
#1F369B #9B1F74 #9B841F #1F9B46
square
#1F369B #9B1F74 #9B841F #1F9B46
split-complementary
#1F369B #9B461F #749B1F
monochromatic
#0B1235 #152468 #1F369B #2948CE #5770DD
Accessibility & contrast
On white
10.20
#1F369B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#1F369B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F369B
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F369B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F369B | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1f369b; /* rgb */ color: rgb(31, 54, 155); /* oklch */ color: oklch(38.7% 0.166 267.6);
Tailwind
colors: {
custom: {
50: '#706db9',
500: '#1f369b',
950: '#000000',
},
}SCSS
$custom: #1f369b; $custom-light: #706db9; $custom-dark: #000000;
JSON
{
"hex": "#1f369b",
"rgb": {
"r": 31,
"g": 54,
"b": 155
},
"hsl": {
"h": 228.871,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.38702,
"c": 0.16607,
"h": 267.6
},
"luminance": 0.05296
}Semantic roles & 50–950 ramp
primary
#1F369B
secondary
#C1AD55
accent
#CA3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81