#1F36B4#1F36B4
#1F36B4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.198 H 267.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1F36B4 |
|---|---|
| RGB | rgb(31, 54, 180) |
| HSL | hsl(231, 71%, 41%) |
| HSV | hsv(231, 83%, 71%) |
| CMYK | cmyk(82.8%, 70%, 0%, 29.4%) |
| CIE-LAB | lab(29.97, 38.83, -68.42) |
| CIE-LCH | lch(29.97, 78.68, 299.58°) |
| OKLab | oklab(41.19% -0.0086 -0.1983) |
| OKLCH | oklch(41.19% 0.198 267.5) |
| XYZ | xyz(10.1196, 6.2237, 43.8391) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.42
Blue Blue
#2242C7
ΔE00 4.12
Ocean Blue
#4F42B5
ΔE00 5.87
Blue (survey)
#0343DF
ΔE00 6.44
Blue With A Hint Of Purple
#533CC6
ΔE00 6.54
Cobalt
#0047AB
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F36B4 #B49D1F
analogous
#1F81B4 #1F36B4 #531FB4
triadic
#1F36B4 #B41F36 #36B41F
tetradic
#1F36B4 #B41F81 #B49D1F #1FB453
square
#1F36B4 #B41F81 #B49D1F #1FB453
split-complementary
#1F36B4 #B4531F #81B41F
monochromatic
#0D174C #162680 #1F36B4 #344EDC #687CE5
Accessibility & contrast
On white
9.35
#1F36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1F36B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F36B4
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F36B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F36B4 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f36b4; /* rgb */ color: rgb(31, 54, 180); /* oklch */ color: oklch(41.2% 0.198 267.5);
Tailwind
colors: {
custom: {
50: '#776dcc',
500: '#1f36b4',
950: '#000000',
},
}SCSS
$custom: #1f36b4; $custom-light: #776dcc; $custom-dark: #000000;
JSON
{
"hex": "#1f36b4",
"rgb": {
"r": 31,
"g": 54,
"b": 180
},
"hsl": {
"h": 230.738,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.41192,
"c": 0.19849,
"h": 267.5
},
"luminance": 0.06225
}Semantic roles & 50–950 ramp
primary
#1F36B4
secondary
#CBBB64
accent
#D23AED
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82