#1F5EA1#1F5EA1
#1F5EA1 is a mid, vivid cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.125 H 253.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5EA1 |
|---|---|
| RGB | rgb(31, 94, 161) |
| HSL | hsl(211, 68%, 38%) |
| HSV | hsv(211, 81%, 63%) |
| CMYK | cmyk(80.7%, 41.6%, 0%, 36.9%) |
| CIE-LAB | lab(39.36, 5.04, -41.86) |
| CIE-LCH | lch(39.36, 42.16, 276.86°) |
| OKLab | oklab(47.82% -0.0362 -0.1197) |
| OKLCH | oklch(47.82% 0.125 253.2) |
| XYZ | xyz(10.9984, 10.8686, 35.2295) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 3.22
Denim
#1560BD
ΔE00 3.30
Denim (survey)
#3B638C
ΔE00 3.71
Denim Blue
#3B5B92
ΔE00 4.30
Dusk Blue
#26538D
ΔE00 4.41
Mid Blue
#276AB3
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5EA1 #A1621F
analogous
#1F9FA1 #1F5EA1 #211FA1
triadic
#1F5EA1 #A11F5E #5EA11F
tetradic
#1F5EA1 #A11F9F #A1621F #1FA121
square
#1F5EA1 #A11F9F #A1621F #1FA121
split-complementary
#1F5EA1 #A1211F #9FA11F
monochromatic
#0B223A #15406E #1F5EA1 #297CD4 #5B9BDF
Accessibility & contrast
On white
6.62
#1F5EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#1F5EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5EA1
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5EA1 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#2757A0
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #1f5ea1; /* rgb */ color: rgb(31, 94, 161); /* oklch */ color: oklch(47.8% 0.125 253.2);
Tailwind
colors: {
custom: {
50: '#708bbd',
500: '#1f5ea1',
950: '#000000',
},
}SCSS
$custom: #1f5ea1; $custom-light: #708bbd; $custom-dark: #000000;
JSON
{
"hex": "#1f5ea1",
"rgb": {
"r": 31,
"g": 94,
"b": 161
},
"hsl": {
"h": 210.923,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.47815,
"c": 0.12506,
"h": 253.2
},
"luminance": 0.1087
}Semantic roles & 50–950 ramp
primary
#1F5EA1
secondary
#C49058
accent
#973DEB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81