#1F5CAB#1F5CAB
#1F5CAB is a mid, vivid cyan. Relative luminance 0.109; OKLCH L 48.0% C 0.141 H 256.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5CAB |
|---|---|
| RGB | rgb(31, 92, 171) |
| HSL | hsl(214, 69%, 40%) |
| HSV | hsv(214, 82%, 67%) |
| CMYK | cmyk(81.9%, 46.2%, 0%, 32.9%) |
| CIE-LAB | lab(39.39, 10.28, -47.75) |
| CIE-LCH | lch(39.39, 48.85, 282.15°) |
| OKLab | oklab(48.04% -0.0324 -0.1371) |
| OKLCH | oklch(48.04% 0.141 256.7) |
| XYZ | xyz(11.7402, 10.8844, 40.0023) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 2.37
Light Navy Blue
#2E5A88
ΔE00 4.03
Denim Blue
#3B5B92
ΔE00 4.09
Sapphire
#0F52BA
ΔE00 4.17
Dusk Blue
#26538D
ΔE00 4.43
Denim (survey)
#3B638C
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5CAB #AB6E1F
analogous
#1FA2AB #1F5CAB #281FAB
triadic
#1F5CAB #AB1F5C #5CAB1F
tetradic
#1F5CAB #AB1FA2 #AB6E1F #1FAB28
square
#1F5CAB #AB1FA2 #AB6E1F #1FAB28
split-complementary
#1F5CAB #AB281F #A2AB1F
monochromatic
#0C2443 #164077 #1F5CAB #2E79D9 #629AE3
Accessibility & contrast
On white
6.61
#1F5CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#1F5CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5CAB
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5CAB | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3264AE
Deuteranopia (green-blind)
#0E57A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #1f5cab; /* rgb */ color: rgb(31, 92, 171); /* oklch */ color: oklch(48.0% 0.141 256.7);
Tailwind
colors: {
custom: {
50: '#7289c4',
500: '#1f5cab',
950: '#000000',
},
}SCSS
$custom: #1f5cab; $custom-light: #7289c4; $custom-dark: #000000;
JSON
{
"hex": "#1f5cab",
"rgb": {
"r": 31,
"g": 92,
"b": 171
},
"hsl": {
"h": 213.857,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.48037,
"c": 0.14086,
"h": 256.7
},
"luminance": 0.10886
}Semantic roles & 50–950 ramp
primary
#1F5CAB
secondary
#C79A5E
accent
#9F3CEC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82