#1F5EA8#1F5EA8
#1F5EA8 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.3% C 0.134 H 255.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5EA8 |
|---|---|
| RGB | rgb(31, 94, 168) |
| HSL | hsl(212, 69%, 39%) |
| HSV | hsv(212, 82%, 66%) |
| CMYK | cmyk(81.5%, 44%, 0%, 34.1%) |
| CIE-LAB | lab(39.79, 7.79, -45.33) |
| CIE-LCH | lch(39.79, 46.00, 279.75°) |
| OKLab | oklab(48.29% -0.0346 -0.1299) |
| OKLCH | oklch(48.29% 0.134 255.1) |
| XYZ | xyz(11.6330, 11.1225, 38.5719) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 2.44
Light Navy Blue
#2E5A88
ΔE00 3.85
Denim (survey)
#3B638C
ΔE00 4.08
Denim Blue
#3B5B92
ΔE00 4.30
Mid Blue
#276AB3
ΔE00 4.30
Dusk Blue
#26538D
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5EA8 #A8691F
analogous
#1FA3A8 #1F5EA8 #251FA8
triadic
#1F5EA8 #A81F5E #5EA81F
tetradic
#1F5EA8 #A81FA3 #A8691F #1FA825
square
#1F5EA8 #A81FA3 #A8691F #1FA825
split-complementary
#1F5EA8 #A8251F #A3A81F
monochromatic
#0C2441 #154174 #1F5EA8 #2C7BD8 #609BE2
Accessibility & contrast
On white
6.51
#1F5EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#1F5EA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5EA8
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5EA8 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3864AB
Deuteranopia (green-blind)
#1D58A7
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #1f5ea8; /* rgb */ color: rgb(31, 94, 168); /* oklch */ color: oklch(48.3% 0.134 255.1);
Tailwind
colors: {
custom: {
50: '#718bc2',
500: '#1f5ea8',
950: '#000000',
},
}SCSS
$custom: #1f5ea8; $custom-light: #718bc2; $custom-dark: #000000;
JSON
{
"hex": "#1f5ea8",
"rgb": {
"r": 31,
"g": 94,
"b": 168
},
"hsl": {
"h": 212.409,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.48286,
"c": 0.13446,
"h": 255.1
},
"luminance": 0.11124
}Semantic roles & 50–950 ramp
primary
#1F5EA8
secondary
#C6965D
accent
#9B3CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090B12
muted
#7B7C81