#1F396C#1F396C
#1F396C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.094 H 262.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1F396C |
|---|---|
| RGB | rgb(31, 57, 108) |
| HSL | hsl(220, 55%, 27%) |
| HSV | hsv(220, 71%, 42%) |
| CMYK | cmyk(71.3%, 47.2%, 0%, 57.6%) |
| CIE-LAB | lab(24.64, 8.80, -32.68) |
| CIE-LCH | lch(24.64, 33.85, 285.06°) |
| OKLab | oklab(35.32% -0.0126 -0.0935) |
| OKLCH | oklch(35.32% 0.094 262.3) |
| XYZ | xyz(4.7340, 4.2998, 14.7649) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 3.41
Marine
#042E60
ΔE00 3.86
Darkish Blue
#014182
ΔE00 4.89
Twilight Blue
#0A437A
ΔE00 5.09
Cobalt (survey)
#1E488F
ΔE00 6.45
Prussian Blue
#004577
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F396C #6C521F
analogous
#1F606C #1F396C #2B1F6C
triadic
#1F396C #6C1F39 #396C1F
tetradic
#1F396C #6C1F60 #6C521F #1F6C2B
square
#1F396C #6C1F60 #6C521F #1F6C2B
split-complementary
#1F396C #6C2B1F #606C1F
monochromatic
#070D18 #11203C #1F396C #2D529C #3E6CC8
Accessibility & contrast
On white
11.29
#1F396C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1F396C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F396C
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F396C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F396C | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#12376B
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f396c; /* rgb */ color: rgb(31, 57, 108); /* oklch */ color: oklch(35.3% 0.094 262.3);
Tailwind
colors: {
custom: {
50: '#656e96',
500: '#1f396c',
950: '#000000',
},
}SCSS
$custom: #1f396c; $custom-light: #656e96; $custom-dark: #000000;
JSON
{
"hex": "#1f396c",
"rgb": {
"r": 31,
"g": 57,
"b": 108
},
"hsl": {
"h": 219.74,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.35323,
"c": 0.09431,
"h": 262.3
},
"luminance": 0.043
}Semantic roles & 50–950 ramp
primary
#1F396C
secondary
#A08247
accent
#AC49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E