#1F37A6#1F37A6
#1F37A6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.179 H 267.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F37A6 |
|---|---|
| RGB | rgb(31, 55, 166) |
| HSL | hsl(229, 69%, 39%) |
| HSV | hsv(229, 81%, 65%) |
| CMYK | cmyk(81.3%, 66.9%, 0%, 34.9%) |
| CIE-LAB | lab(28.84, 33.02, -61.90) |
| CIE-LCH | lch(28.84, 70.16, 298.08°) |
| OKLab | oklab(39.96% -0.0081 -0.1793) |
| OKLCH | oklch(39.96% 0.179 267.4) |
| XYZ | xyz(8.8118, 5.7758, 36.7194) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.77
Blue Blue
#2242C7
ΔE00 5.29
Blueberry
#464196
ΔE00 5.89
Cobalt
#0047AB
ΔE00 5.98
Ocean Blue
#4F42B5
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F37A6 #A68E1F
analogous
#1F7AA6 #1F37A6 #4A1FA6
triadic
#1F37A6 #A61F37 #37A61F
tetradic
#1F37A6 #A61F7A #A68E1F #1FA64A
square
#1F37A6 #A61F7A #A68E1F #1FA64A
split-complementary
#1F37A6 #A64A1F #7AA61F
monochromatic
#0C153F #152672 #1F37A6 #2B49D7 #5E76E1
Accessibility & contrast
On white
9.74
#1F37A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1F37A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F37A6
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F37A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F37A6 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f37a6; /* rgb */ color: rgb(31, 55, 166); /* oklch */ color: oklch(40.0% 0.179 267.4);
Tailwind
colors: {
custom: {
50: '#736dc1',
500: '#1f37a6',
950: '#000000',
},
}SCSS
$custom: #1f37a6; $custom-light: #736dc1; $custom-dark: #000000;
JSON
{
"hex": "#1f37a6",
"rgb": {
"r": 31,
"g": 55,
"b": 166
},
"hsl": {
"h": 229.333,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.39956,
"c": 0.17945,
"h": 267.4
},
"luminance": 0.05777
}Semantic roles & 50–950 ramp
primary
#1F37A6
secondary
#C5B35B
accent
#CC3CEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81