#1F368F#1F368F
#1F368F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.150 H 267.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1F368F |
|---|---|
| RGB | rgb(31, 54, 143) |
| HSL | hsl(228, 64%, 34%) |
| HSV | hsv(228, 78%, 56%) |
| CMYK | cmyk(78.3%, 62.2%, 0%, 43.9%) |
| CIE-LAB | lab(26.48, 24.86, -51.73) |
| CIE-LCH | lch(26.48, 57.40, 295.67°) |
| OKLab | oklab(37.57% -0.0069 -0.1495) |
| OKLCH | oklch(37.57% 0.15 267.4) |
| XYZ | xyz(6.8404, 4.9120, 26.5689) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.16
Blueberry
#464196
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.49
Cobalt (survey)
#1E488F
ΔE00 6.54
Darkish Blue
#014182
ΔE00 6.64
Cobalt
#0047AB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F368F #8F781F
analogous
#1F6E8F #1F368F #401F8F
triadic
#1F368F #8F1F36 #368F1F
tetradic
#1F368F #8F1F6E #8F781F #1F8F40
square
#1F368F #8F1F6E #8F781F #1F8F40
split-complementary
#1F368F #8F401F #6E8F1F
monochromatic
#09102A #14235D #1F368F #2A49C1 #4F6CD9
Accessibility & contrast
On white
10.59
#1F368F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1F368F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F368F
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F368F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F368F | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f368f; /* rgb */ color: rgb(31, 54, 143); /* oklch */ color: oklch(37.6% 0.150 267.4);
Tailwind
colors: {
custom: {
50: '#6d6cb1',
500: '#1f368f',
950: '#000000',
},
}SCSS
$custom: #1f368f; $custom-light: #6d6cb1; $custom-dark: #000000;
JSON
{
"hex": "#1f368f",
"rgb": {
"r": 31,
"g": 54,
"b": 143
},
"hsl": {
"h": 227.679,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.37573,
"c": 0.14967,
"h": 267.4
},
"luminance": 0.04913
}Semantic roles & 50–950 ramp
primary
#1F368F
secondary
#BCA54E
accent
#C540E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80