#1F4283#1F4283
#1F4283 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.117 H 261.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4283 |
|---|---|
| RGB | rgb(31, 66, 131) |
| HSL | hsl(219, 62%, 32%) |
| HSV | hsv(219, 76%, 51%) |
| CMYK | cmyk(76.3%, 49.6%, 0%, 48.6%) |
| CIE-LAB | lab(28.97, 11.77, -40.26) |
| CIE-LCH | lch(28.97, 41.95, 286.30°) |
| OKLab | oklab(39.15% -0.0174 -0.1156) |
| OKLCH | oklch(39.15% 0.117 261.4) |
| XYZ | xyz(6.6086, 5.8257, 22.2445) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.41
Darkish Blue
#014182
ΔE00 2.45
Twilight Blue
#0A437A
ΔE00 3.25
Prussian Blue
#004577
ΔE00 4.87
Marine Blue
#01386A
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4283 #83601F
analogous
#1F7483 #1F4283 #2E1F83
triadic
#1F4283 #831F42 #42831F
tetradic
#1F4283 #831F74 #83601F #1F832E
square
#1F4283 #831F74 #83601F #1F832E
split-complementary
#1F4283 #832E1F #74831F
monochromatic
#081020 #132952 #1F4283 #2B5BB4 #4979D4
Accessibility & contrast
On white
9.70
#1F4283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#1F4283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4283
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4283 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4985
Deuteranopia (green-blind)
#014082
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f4283; /* rgb */ color: rgb(31, 66, 131); /* oklch */ color: oklch(39.2% 0.117 261.4);
Tailwind
colors: {
custom: {
50: '#6a75a7',
500: '#1f4283',
950: '#000000',
},
}SCSS
$custom: #1f4283; $custom-light: #6a75a7; $custom-dark: #000000;
JSON
{
"hex": "#1f4283",
"rgb": {
"r": 31,
"g": 66,
"b": 131
},
"hsl": {
"h": 219,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.39154,
"c": 0.11688,
"h": 261.4
},
"luminance": 0.05826
}Semantic roles & 50–950 ramp
primary
#1F4283
secondary
#B68F48
accent
#AC43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F