#1F389B#1F389B
#1F389B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.164 H 267.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F389B |
|---|---|
| RGB | rgb(31, 56, 155) |
| HSL | hsl(228, 67%, 36%) |
| HSV | hsv(228, 80%, 61%) |
| CMYK | cmyk(80%, 63.9%, 0%, 39.2%) |
| CIE-LAB | lab(28.07, 28.17, -56.49) |
| CIE-LCH | lch(28.07, 63.12, 296.50°) |
| OKLab | oklab(39.08% -0.0082 -0.1634) |
| OKLCH | oklch(39.08% 0.164 267.1) |
| XYZ | xyz(7.8936, 5.4853, 31.6467) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.42
Blueberry
#464196
ΔE00 5.57
Cobalt
#0047AB
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 6.50
Cobalt (survey)
#1E488F
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F389B #9B821F
analogous
#1F769B #1F389B #441F9B
triadic
#1F389B #9B1F38 #389B1F
tetradic
#1F389B #9B1F76 #9B821F #1F9B44
square
#1F389B #9B1F76 #9B821F #1F9B44
split-complementary
#1F389B #9B441F #769B1F
monochromatic
#0B1335 #152668 #1F389B #294ACE #5772DD
Accessibility & contrast
On white
10.01
#1F389B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1F389B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F389B
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F389B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F389B | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f389b; /* rgb */ color: rgb(31, 56, 155); /* oklch */ color: oklch(39.1% 0.164 267.1);
Tailwind
colors: {
custom: {
50: '#706eb9',
500: '#1f389b',
950: '#000000',
},
}SCSS
$custom: #1f389b; $custom-light: #706eb9; $custom-dark: #000000;
JSON
{
"hex": "#1f389b",
"rgb": {
"r": 31,
"g": 56,
"b": 155
},
"hsl": {
"h": 227.903,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.39082,
"c": 0.16364,
"h": 267.1
},
"luminance": 0.05486
}Semantic roles & 50–950 ramp
primary
#1F389B
secondary
#C1AB55
accent
#C73EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81