#1F5CA1#1F5CA1
#1F5CA1 is a mid, vivid cyan. Relative luminance 0.105; OKLCH L 47.3% C 0.127 H 254.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5CA1 |
|---|---|
| RGB | rgb(31, 92, 161) |
| HSL | hsl(212, 68%, 38%) |
| HSV | hsv(212, 81%, 63%) |
| CMYK | cmyk(80.7%, 42.9%, 0%, 36.9%) |
| CIE-LAB | lab(38.76, 6.33, -42.82) |
| CIE-LCH | lch(38.76, 43.29, 278.41°) |
| OKLab | oklab(47.35% -0.0344 -0.1226) |
| OKLCH | oklch(47.35% 0.127 254.3) |
| XYZ | xyz(10.8228, 10.5175, 35.1710) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 3.03
Denim
#1560BD
ΔE00 3.39
Dusk Blue
#26538D
ΔE00 3.79
Denim Blue
#3B5B92
ΔE00 3.92
Denim (survey)
#3B638C
ΔE00 4.01
Light Navy
#155084
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5CA1 #A1641F
analogous
#1F9DA1 #1F5CA1 #231FA1
triadic
#1F5CA1 #A11F5C #5CA11F
tetradic
#1F5CA1 #A11F9D #A1641F #1FA123
square
#1F5CA1 #A11F9D #A1641F #1FA123
split-complementary
#1F5CA1 #A1231F #9DA11F
monochromatic
#0B213A #153F6E #1F5CA1 #2979D4 #5B99DF
Accessibility & contrast
On white
6.77
#1F5CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#1F5CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5CA1
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5CA1 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A62A4
Deuteranopia (green-blind)
#2256A0
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f5ca1; /* rgb */ color: rgb(31, 92, 161); /* oklch */ color: oklch(47.3% 0.127 254.3);
Tailwind
colors: {
custom: {
50: '#7089bd',
500: '#1f5ca1',
950: '#000000',
},
}SCSS
$custom: #1f5ca1; $custom-light: #7089bd; $custom-dark: #000000;
JSON
{
"hex": "#1f5ca1",
"rgb": {
"r": 31,
"g": 92,
"b": 161
},
"hsl": {
"h": 211.846,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.47346,
"c": 0.12734,
"h": 254.3
},
"luminance": 0.10519
}Semantic roles & 50–950 ramp
primary
#1F5CA1
secondary
#C49158
accent
#993DEB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81