#1F5796#1F5796
#1F5796 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.118 H 254.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5796 |
|---|---|
| RGB | rgb(31, 87, 150) |
| HSL | hsl(212, 66%, 35%) |
| HSV | hsv(212, 79%, 59%) |
| CMYK | cmyk(79.3%, 42%, 0%, 41.2%) |
| CIE-LAB | lab(36.57, 5.24, -39.71) |
| CIE-LCH | lch(36.57, 40.06, 277.52°) |
| OKLab | oklab(45.43% -0.0325 -0.1135) |
| OKLCH | oklch(45.43% 0.118 254) |
| XYZ | xyz(9.4762, 9.3086, 30.1455) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.91
Light Navy Blue
#2E5A88
ΔE00 2.24
Light Navy
#155084
ΔE00 3.19
Denim Blue
#3B5B92
ΔE00 3.68
Deep Sea Blue
#015482
ΔE00 4.70
Denim (survey)
#3B638C
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5796 #965E1F
analogous
#1F9296 #1F5796 #231F96
triadic
#1F5796 #961F57 #57961F
tetradic
#1F5796 #961F92 #965E1F #1F9623
square
#1F5796 #961F92 #965E1F #1F9623
split-complementary
#1F5796 #96231F #92961F
monochromatic
#0A1C31 #153A63 #1F5796 #2974C9 #5494DC
Accessibility & contrast
On white
7.34
#1F5796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#1F5796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5796
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5796 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C98
Deuteranopia (green-blind)
#245195
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #1f5796; /* rgb */ color: rgb(31, 87, 150); /* oklch */ color: oklch(45.4% 0.118 254.0);
Tailwind
colors: {
custom: {
50: '#6d85b5',
500: '#1f5796',
950: '#000000',
},
}SCSS
$custom: #1f5796; $custom-light: #6d85b5; $custom-dark: #000000;
JSON
{
"hex": "#1f5796",
"rgb": {
"r": 31,
"g": 87,
"b": 150
},
"hsl": {
"h": 211.765,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.4543,
"c": 0.11812,
"h": 254
},
"luminance": 0.0931
}Semantic roles & 50–950 ramp
primary
#1F5796
secondary
#BF8C52
accent
#993FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80