#1F7896#1F7896
#1F7896 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.092 H 225.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7896 |
|---|---|
| RGB | rgb(31, 120, 150) |
| HSL | hsl(195, 66%, 35%) |
| HSV | hsv(195, 79%, 59%) |
| CMYK | cmyk(79.3%, 20%, 0%, 41.2%) |
| CIE-LAB | lab(46.88, -14.83, -23.52) |
| CIE-LCH | lch(46.88, 27.80, 237.76°) |
| OKLab | oklab(53.58% -0.0644 -0.066) |
| OKLCH | oklch(53.58% 0.092 225.7) |
| XYZ | xyz(12.7843, 15.9247, 31.2482) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 1.86
Ocean
#017B92
ΔE00 3.79
Cerulean
#007BA7
ΔE00 4.13
Dirty Blue
#3F829D
ΔE00 4.59
Ocean Blue (survey)
#03719C
ΔE00 4.87
Teal Blue
#01889F
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7896 #963D1F
analogous
#1F9678 #1F7896 #1F3C96
triadic
#1F7896 #961F78 #78961F
tetradic
#1F7896 #781F96 #963D1F #3C961F
square
#1F7896 #781F96 #963D1F #3C961F
split-complementary
#1F7896 #961F3C #96781F
monochromatic
#0A2731 #154F63 #1F7896 #29A1C9 #54B9DC
Accessibility & contrast
On white
5.02
#1F7896 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#1F7896 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7896
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7896 | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687598
Deuteranopia (green-blind)
#586A96
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #1f7896; /* rgb */ color: rgb(31, 120, 150); /* oklch */ color: oklch(53.6% 0.092 225.7);
Tailwind
colors: {
custom: {
50: '#6f9fb5',
500: '#1f7896',
950: '#000000',
},
}SCSS
$custom: #1f7896; $custom-light: #6f9fb5; $custom-dark: #000000;
JSON
{
"hex": "#1f7896",
"rgb": {
"r": 31,
"g": 120,
"b": 150
},
"hsl": {
"h": 195.126,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.53581,
"c": 0.09218,
"h": 225.7
},
"luminance": 0.15926
}Semantic roles & 50–950 ramp
primary
#1F7896
secondary
#BF6D52
accent
#6A3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80