#1F5699#1F5699
#1F5699 is a mid, vivid cyan. Relative luminance 0.092; OKLCH L 45.4% C 0.123 H 255.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5699 |
|---|---|
| RGB | rgb(31, 86, 153) |
| HSL | hsl(213, 66%, 36%) |
| HSV | hsv(213, 80%, 60%) |
| CMYK | cmyk(79.7%, 43.8%, 0%, 40%) |
| CIE-LAB | lab(36.45, 7.09, -41.71) |
| CIE-LCH | lch(36.45, 42.31, 279.65°) |
| OKLab | oklab(45.4% -0.031 -0.1194) |
| OKLCH | oklch(45.4% 0.123 255.5) |
| XYZ | xyz(9.6405, 9.2456, 31.4073) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.76
Light Navy Blue
#2E5A88
ΔE00 2.69
Light Navy
#155084
ΔE00 3.42
Denim Blue
#3B5B92
ΔE00 3.57
Sapphire
#0F52BA
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5699 #99621F
analogous
#1F9399 #1F5699 #251F99
triadic
#1F5699 #991F56 #56991F
tetradic
#1F5699 #991F93 #99621F #1F9925
square
#1F5699 #991F93 #99621F #1F9925
split-complementary
#1F5699 #99251F #93991F
monochromatic
#0A1D33 #153966 #1F5699 #2973CC #5693DD
Accessibility & contrast
On white
7.37
#1F5699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#1F5699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5699
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5699 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #1f5699; /* rgb */ color: rgb(31, 86, 153); /* oklch */ color: oklch(45.4% 0.123 255.5);
Tailwind
colors: {
custom: {
50: '#6e85b7',
500: '#1f5699',
950: '#000000',
},
}SCSS
$custom: #1f5699; $custom-light: #6e85b7; $custom-dark: #000000;
JSON
{
"hex": "#1f5699",
"rgb": {
"r": 31,
"g": 86,
"b": 153
},
"hsl": {
"h": 212.951,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.45397,
"c": 0.12339,
"h": 255.5
},
"luminance": 0.09247
}Semantic roles & 50–950 ramp
primary
#1F5699
secondary
#C08F54
accent
#9C3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80