#1F389C#1F389C
#1F389C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.165 H 267.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1F389C |
|---|---|
| RGB | rgb(31, 56, 156) |
| HSL | hsl(228, 67%, 37%) |
| HSV | hsv(228, 80%, 61%) |
| CMYK | cmyk(80.1%, 64.1%, 0%, 38.8%) |
| CIE-LAB | lab(28.16, 28.55, -56.95) |
| CIE-LCH | lch(28.16, 63.71, 296.63°) |
| OKLab | oklab(39.18% -0.0082 -0.1648) |
| OKLCH | oklch(39.18% 0.165 267.1) |
| XYZ | xyz(7.9779, 5.5190, 32.0909) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.27
Blueberry
#464196
ΔE00 5.57
Cobalt
#0047AB
ΔE00 5.66
Blue Blue
#2242C7
ΔE00 6.37
Cobalt (survey)
#1E488F
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F389C #9C831F
analogous
#1F779C #1F389C #451F9C
triadic
#1F389C #9C1F38 #389C1F
tetradic
#1F389C #9C1F77 #9C831F #1F9C45
square
#1F389C #9C1F77 #9C831F #1F9C45
split-complementary
#1F389C #9C451F #779C1F
monochromatic
#0B1336 #152669 #1F389C #294ACF #5872DE
Accessibility & contrast
On white
9.98
#1F389C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1F389C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F389C
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F389C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F389C | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f389c; /* rgb */ color: rgb(31, 56, 156); /* oklch */ color: oklch(39.2% 0.165 267.1);
Tailwind
colors: {
custom: {
50: '#716eba',
500: '#1f389c',
950: '#000000',
},
}SCSS
$custom: #1f389c; $custom-light: #716eba; $custom-dark: #000000;
JSON
{
"hex": "#1f389c",
"rgb": {
"r": 31,
"g": 56,
"b": 156
},
"hsl": {
"h": 228,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.39176,
"c": 0.16499,
"h": 267.1
},
"luminance": 0.0552
}Semantic roles & 50–950 ramp
primary
#1F389C
secondary
#C1AC55
accent
#C73EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81