#1F396E#1F396E
#1F396E is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.097 H 262.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F396E |
|---|---|
| RGB | rgb(31, 57, 110) |
| HSL | hsl(220, 56%, 28%) |
| HSV | hsv(220, 72%, 43%) |
| CMYK | cmyk(71.8%, 48.2%, 0%, 56.9%) |
| CIE-LAB | lab(24.77, 9.60, -33.75) |
| CIE-LCH | lch(24.77, 35.09, 285.88°) |
| OKLab | oklab(35.47% -0.0122 -0.0966) |
| OKLCH | oklch(35.47% 0.097 262.8) |
| XYZ | xyz(4.8417, 4.3429, 15.3319) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 3.53
Marine
#042E60
ΔE00 3.97
Darkish Blue
#014182
ΔE00 4.79
Twilight Blue
#0A437A
ΔE00 5.09
Cobalt (survey)
#1E488F
ΔE00 6.28
Prussian Blue
#004577
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F396E #6E541F
analogous
#1F606E #1F396E #2C1F6E
triadic
#1F396E #6E1F39 #396E1F
tetradic
#1F396E #6E1F60 #6E541F #1F6E2C
square
#1F396E #6E1F60 #6E541F #1F6E2C
split-complementary
#1F396E #6E2C1F #606E1F
monochromatic
#070C18 #12203E #1F396E #2C529E #3F6CC9
Accessibility & contrast
On white
11.24
#1F396E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F396E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F396E
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F396E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F396E | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#0F376D
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f396e; /* rgb */ color: rgb(31, 57, 110); /* oklch */ color: oklch(35.5% 0.097 262.8);
Tailwind
colors: {
custom: {
50: '#656e98',
500: '#1f396e',
950: '#000000',
},
}SCSS
$custom: #1f396e; $custom-light: #656e98; $custom-dark: #000000;
JSON
{
"hex": "#1f396e",
"rgb": {
"r": 31,
"g": 57,
"b": 110
},
"hsl": {
"h": 220.253,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.3547,
"c": 0.09736,
"h": 262.8
},
"luminance": 0.04343
}Semantic roles & 50–950 ramp
primary
#1F396E
secondary
#A28447
accent
#AE48DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E