#1F388F#1F388F
#1F388F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.147 H 266.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F388F |
|---|---|
| RGB | rgb(31, 56, 143) |
| HSL | hsl(227, 64%, 34%) |
| HSV | hsv(227, 78%, 56%) |
| CMYK | cmyk(78.3%, 60.8%, 0%, 43.9%) |
| CIE-LAB | lab(27.02, 23.49, -50.85) |
| CIE-LCH | lch(27.02, 56.01, 294.80°) |
| OKLab | oklab(37.98% -0.0082 -0.1469) |
| OKLCH | oklch(37.98% 0.147 266.8) |
| XYZ | xyz(6.9354, 5.1020, 26.6005) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Blueberry
#464196
ΔE00 5.83
Cobalt (survey)
#1E488F
ΔE00 5.86
Darkish Blue
#014182
ΔE00 6.05
Cobalt
#0047AB
ΔE00 6.14
Darkslateblue
#483D8B
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F388F #8F761F
analogous
#1F708F #1F388F #3E1F8F
triadic
#1F388F #8F1F38 #388F1F
tetradic
#1F388F #8F1F70 #8F761F #1F8F3E
square
#1F388F #8F1F70 #8F761F #1F8F3E
split-complementary
#1F388F #8F3E1F #708F1F
monochromatic
#09112A #14245D #1F388F #2A4CC1 #4F6ED9
Accessibility & contrast
On white
10.39
#1F388F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#1F388F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F388F
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F388F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F388F | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f388f; /* rgb */ color: rgb(31, 56, 143); /* oklch */ color: oklch(38.0% 0.147 266.8);
Tailwind
colors: {
custom: {
50: '#6d6eb1',
500: '#1f388f',
950: '#000000',
},
}SCSS
$custom: #1f388f; $custom-light: #6d6eb1; $custom-dark: #000000;
JSON
{
"hex": "#1f388f",
"rgb": {
"r": 31,
"g": 56,
"b": 143
},
"hsl": {
"h": 226.607,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.37976,
"c": 0.14712,
"h": 266.8
},
"luminance": 0.05103
}Semantic roles & 50–950 ramp
primary
#1F388F
secondary
#BCA34E
accent
#C240E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80