#1F5EA7#1F5EA7
#1F5EA7 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.133 H 254.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5EA7 |
|---|---|
| RGB | rgb(31, 94, 167) |
| HSL | hsl(212, 69%, 39%) |
| HSV | hsv(212, 81%, 65%) |
| CMYK | cmyk(81.4%, 43.7%, 0%, 34.5%) |
| CIE-LAB | lab(39.72, 7.40, -44.84) |
| CIE-LCH | lch(39.72, 45.44, 279.37°) |
| OKLab | oklab(48.22% -0.0348 -0.1285) |
| OKLCH | oklch(48.22% 0.133 254.8) |
| XYZ | xyz(11.5402, 11.0853, 38.0832) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 2.56
Light Navy Blue
#2E5A88
ΔE00 3.75
Denim (survey)
#3B638C
ΔE00 4.02
Denim Blue
#3B5B92
ΔE00 4.28
Mid Blue
#276AB3
ΔE00 4.32
Dusk Blue
#26538D
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5EA7 #A7681F
analogous
#1FA2A7 #1F5EA7 #241FA7
triadic
#1F5EA7 #A71F5E #5EA71F
tetradic
#1F5EA7 #A71FA2 #A7681F #1FA724
square
#1F5EA7 #A71FA2 #A7681F #1FA724
split-complementary
#1F5EA7 #A7241F #A2A71F
monochromatic
#0C2440 #154173 #1F5EA7 #2B7BD8 #5F9BE1
Accessibility & contrast
On white
6.53
#1F5EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#1F5EA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5EA7
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5EA7 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3964AA
Deuteranopia (green-blind)
#1E58A6
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #1f5ea7; /* rgb */ color: rgb(31, 94, 167); /* oklch */ color: oklch(48.2% 0.133 254.8);
Tailwind
colors: {
custom: {
50: '#718bc1',
500: '#1f5ea7',
950: '#000000',
},
}SCSS
$custom: #1f5ea7; $custom-light: #718bc1; $custom-dark: #000000;
JSON
{
"hex": "#1f5ea7",
"rgb": {
"r": 31,
"g": 94,
"b": 167
},
"hsl": {
"h": 212.206,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.48218,
"c": 0.13312,
"h": 254.8
},
"luminance": 0.11087
}Semantic roles & 50–950 ramp
primary
#1F5EA7
secondary
#C6955C
accent
#9A3CEC
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090B12
muted
#7B7C81