#1F5797#1F5797
#1F5797 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.5% C 0.119 H 254.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5797 |
|---|---|
| RGB | rgb(31, 87, 151) |
| HSL | hsl(212, 66%, 36%) |
| HSV | hsv(212, 79%, 59%) |
| CMYK | cmyk(79.5%, 42.4%, 0%, 40.8%) |
| CIE-LAB | lab(36.63, 5.64, -40.22) |
| CIE-LCH | lch(36.63, 40.61, 277.98°) |
| OKLab | oklab(45.5% -0.0323 -0.115) |
| OKLCH | oklch(45.5% 0.119 254.3) |
| XYZ | xyz(9.5571, 9.3409, 30.5714) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.93
Light Navy Blue
#2E5A88
ΔE00 2.32
Light Navy
#155084
ΔE00 3.29
Denim Blue
#3B5B92
ΔE00 3.64
Denim (survey)
#3B638C
ΔE00 4.81
Deep Sea Blue
#015482
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5797 #975F1F
analogous
#1F9397 #1F5797 #231F97
triadic
#1F5797 #971F57 #57971F
tetradic
#1F5797 #971F93 #975F1F #1F9723
square
#1F5797 #971F93 #975F1F #1F9723
split-complementary
#1F5797 #97231F #93971F
monochromatic
#0A1C31 #153A64 #1F5797 #2974CA #5494DC
Accessibility & contrast
On white
7.32
#1F5797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#1F5797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5797
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5797 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#235196
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #1f5797; /* rgb */ color: rgb(31, 87, 151); /* oklch */ color: oklch(45.5% 0.119 254.3);
Tailwind
colors: {
custom: {
50: '#6e85b6',
500: '#1f5797',
950: '#000000',
},
}SCSS
$custom: #1f5797; $custom-light: #6e85b6; $custom-dark: #000000;
JSON
{
"hex": "#1f5797",
"rgb": {
"r": 31,
"g": 87,
"b": 151
},
"hsl": {
"h": 212,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45497,
"c": 0.11949,
"h": 254.3
},
"luminance": 0.09342
}Semantic roles & 50–950 ramp
primary
#1F5797
secondary
#BF8D52
accent
#9A3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80