#1F368C#1F368C
#1F368C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.145 H 267.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F368C |
|---|---|
| RGB | rgb(31, 54, 140) |
| HSL | hsl(227, 64%, 34%) |
| HSV | hsv(227, 78%, 55%) |
| CMYK | cmyk(77.9%, 61.4%, 0%, 45.1%) |
| CIE-LAB | lab(26.22, 23.69, -50.30) |
| CIE-LCH | lch(26.22, 55.60, 295.22°) |
| OKLab | oklab(37.3% -0.0069 -0.1453) |
| OKLCH | oklch(37.3% 0.145 267.3) |
| XYZ | xyz(6.6162, 4.8224, 25.3880) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.63
Blueberry
#464196
ΔE00 6.03
Darkish Blue
#014182
ΔE00 6.42
Cobalt (survey)
#1E488F
ΔE00 6.44
Darkslateblue
#483D8B
ΔE00 6.51
Cobalt
#0047AB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F368C #8C751F
analogous
#1F6C8C #1F368C #3E1F8C
triadic
#1F368C #8C1F36 #368C1F
tetradic
#1F368C #8C1F6C #8C751F #1F8C3E
square
#1F368C #8C1F6C #8C751F #1F8C3E
split-complementary
#1F368C #8C3E1F #6C8C1F
monochromatic
#090F28 #14235A #1F368C #2A49BE #4E6BD8
Accessibility & contrast
On white
10.69
#1F368C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#1F368C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F368C
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F368C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F368C | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f368c; /* rgb */ color: rgb(31, 54, 140); /* oklch */ color: oklch(37.3% 0.145 267.3);
Tailwind
colors: {
custom: {
50: '#6d6cae',
500: '#1f368c',
950: '#000000',
},
}SCSS
$custom: #1f368c; $custom-light: #6d6cae; $custom-dark: #000000;
JSON
{
"hex": "#1f368c",
"rgb": {
"r": 31,
"g": 54,
"b": 140
},
"hsl": {
"h": 227.339,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.37299,
"c": 0.14547,
"h": 267.3
},
"luminance": 0.04823
}Semantic roles & 50–950 ramp
primary
#1F368C
secondary
#BBA34C
accent
#C441E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F