#1F5397#1F5397
#1F5397 is a dark, vivid cyan. Relative luminance 0.087; OKLCH L 44.6% C 0.124 H 256.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5397 |
|---|---|
| RGB | rgb(31, 83, 151) |
| HSL | hsl(214, 66%, 36%) |
| HSV | hsv(214, 79%, 59%) |
| CMYK | cmyk(79.5%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(35.42, 8.28, -42.15) |
| CIE-LCH | lch(35.42, 42.96, 281.11°) |
| OKLab | oklab(44.56% -0.0288 -0.1208) |
| OKLCH | oklch(44.56% 0.124 256.6) |
| XYZ | xyz(9.2422, 8.7111, 30.4665) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.23
Light Navy
#155084
ΔE00 3.15
Light Navy Blue
#2E5A88
ΔE00 3.26
Denim Blue
#3B5B92
ΔE00 3.81
Cobalt (survey)
#1E488F
ΔE00 3.89
Sapphire
#0F52BA
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5397 #97631F
analogous
#1F8F97 #1F5397 #271F97
triadic
#1F5397 #971F53 #53971F
tetradic
#1F5397 #971F8F #97631F #1F9727
square
#1F5397 #971F8F #97631F #1F9727
split-complementary
#1F5397 #97271F #8F971F
monochromatic
#0A1B31 #153764 #1F5397 #296FCA #548FDC
Accessibility & contrast
On white
7.66
#1F5397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#1F5397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5397
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5397 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#184E96
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #1f5397; /* rgb */ color: rgb(31, 83, 151); /* oklch */ color: oklch(44.6% 0.124 256.6);
Tailwind
colors: {
custom: {
50: '#6e82b6',
500: '#1f5397',
950: '#000000',
},
}SCSS
$custom: #1f5397; $custom-light: #6e82b6; $custom-dark: #000000;
JSON
{
"hex": "#1f5397",
"rgb": {
"r": 31,
"g": 83,
"b": 151
},
"hsl": {
"h": 214,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.44557,
"c": 0.12419,
"h": 256.6
},
"luminance": 0.08712
}Semantic roles & 50–950 ramp
primary
#1F5397
secondary
#BF9052
accent
#9F3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80