#1F5CAC#1F5CAC
#1F5CAC is a mid, vivid cyan. Relative luminance 0.109; OKLCH L 48.1% C 0.142 H 256.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5CAC |
|---|---|
| RGB | rgb(31, 92, 172) |
| HSL | hsl(214, 69%, 40%) |
| HSV | hsv(214, 82%, 67%) |
| CMYK | cmyk(82%, 46.5%, 0%, 32.5%) |
| CIE-LAB | lab(39.45, 10.68, -48.24) |
| CIE-LCH | lch(39.45, 49.41, 282.48°) |
| OKLab | oklab(48.11% -0.0322 -0.1385) |
| OKLCH | oklch(48.11% 0.142 256.9) |
| XYZ | xyz(11.8359, 10.9227, 40.5062) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 2.28
Sapphire
#0F52BA
ΔE00 4.09
Denim Blue
#3B5B92
ΔE00 4.14
Light Navy Blue
#2E5A88
ΔE00 4.14
Dusk Blue
#26538D
ΔE00 4.52
Denim (survey)
#3B638C
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5CAC #AC6F1F
analogous
#1FA2AC #1F5CAC #291FAC
triadic
#1F5CAC #AC1F5C #5CAC1F
tetradic
#1F5CAC #AC1FA2 #AC6F1F #1FAC29
square
#1F5CAC #AC1FA2 #AC6F1F #1FAC29
split-complementary
#1F5CAC #AC291F #A2AC1F
monochromatic
#0C2544 #164078 #1F5CAC #2F79D9 #639AE3
Accessibility & contrast
On white
6.59
#1F5CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#1F5CAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5CAC
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5CAC | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#0A57AA
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #1f5cac; /* rgb */ color: rgb(31, 92, 172); /* oklch */ color: oklch(48.1% 0.142 256.9);
Tailwind
colors: {
custom: {
50: '#7289c5',
500: '#1f5cac',
950: '#000000',
},
}SCSS
$custom: #1f5cac; $custom-light: #7289c5; $custom-dark: #000000;
JSON
{
"hex": "#1f5cac",
"rgb": {
"r": 31,
"g": 92,
"b": 172
},
"hsl": {
"h": 214.043,
"s": 69.458,
"l": 39.804
},
"oklch": {
"l": 0.48108,
"c": 0.14221,
"h": 256.9
},
"luminance": 0.10924
}Semantic roles & 50–950 ramp
primary
#1F5CAC
secondary
#C89A5F
accent
#A03CEC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82