#1F5F97#1F5F97
#1F5F97 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.111 H 249.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5F97 |
|---|---|
| RGB | rgb(31, 95, 151) |
| HSL | hsl(208, 66%, 36%) |
| HSV | hsv(208, 79%, 59%) |
| CMYK | cmyk(79.5%, 37.1%, 0%, 40.8%) |
| CIE-LAB | lab(39.09, 0.49, -36.31) |
| CIE-LCH | lch(39.09, 36.32, 270.77°) |
| OKLab | oklab(47.41% -0.0396 -0.1034) |
| OKLCH | oklch(47.41% 0.111 249) |
| XYZ | xyz(10.2411, 10.7089, 30.7994) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.88
Denim (survey)
#3B638C
ΔE00 3.30
Ugly Blue
#31668A
ΔE00 4.42
Denim
#1560BD
ΔE00 4.65
Deep Sea Blue
#015482
ΔE00 4.78
Dusk Blue
#26538D
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5F97 #97571F
analogous
#1F9793 #1F5F97 #1F2397
triadic
#1F5F97 #971F5F #5F971F
tetradic
#1F5F97 #931F97 #97571F #23971F
square
#1F5F97 #931F97 #97571F #23971F
split-complementary
#1F5F97 #971F23 #97931F
monochromatic
#0A1F31 #153F64 #1F5F97 #297FCA #549DDC
Accessibility & contrast
On white
6.68
#1F5F97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#1F5F97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5F97
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5F97 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#335796
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #1f5f97; /* rgb */ color: rgb(31, 95, 151); /* oklch */ color: oklch(47.4% 0.111 249.0);
Tailwind
colors: {
custom: {
50: '#6e8cb6',
500: '#1f5f97',
950: '#000000',
},
}SCSS
$custom: #1f5f97; $custom-light: #6e8cb6; $custom-dark: #000000;
JSON
{
"hex": "#1f5f97",
"rgb": {
"r": 31,
"g": 95,
"b": 151
},
"hsl": {
"h": 208,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47414,
"c": 0.11078,
"h": 249
},
"luminance": 0.1071
}Semantic roles & 50–950 ramp
primary
#1F5F97
secondary
#BF8552
accent
#8E3FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80