#1F7996#1F7996
#1F7996 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.092 H 224.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7996 |
|---|---|
| RGB | rgb(31, 121, 150) |
| HSL | hsl(195, 66%, 35%) |
| HSV | hsv(195, 79%, 59%) |
| CMYK | cmyk(79.3%, 19.3%, 0%, 41.2%) |
| CIE-LAB | lab(47.19, -15.39, -23.03) |
| CIE-LCH | lch(47.19, 27.70, 236.24°) |
| OKLab | oklab(53.84% -0.0654 -0.0646) |
| OKLCH | oklch(53.84% 0.092 224.7) |
| XYZ | xyz(12.9052, 16.1665, 31.2885) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 2.31
Ocean
#017B92
ΔE00 3.32
Dirty Blue
#3F829D
ΔE00 4.34
Cerulean
#007BA7
ΔE00 4.46
Ocean Blue (survey)
#03719C
ΔE00 5.42
Teal Blue
#01889F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7996 #963C1F
analogous
#1F9677 #1F7996 #1F3D96
triadic
#1F7996 #961F79 #79961F
tetradic
#1F7996 #771F96 #963C1F #3D961F
square
#1F7996 #771F96 #963C1F #3D961F
split-complementary
#1F7996 #961F3D #96771F
monochromatic
#0A2731 #155063 #1F7996 #29A2C9 #54BBDC
Accessibility & contrast
On white
4.96
#1F7996 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#1F7996 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7996
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7996 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#697697
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#008282
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #1f7996; /* rgb */ color: rgb(31, 121, 150); /* oklch */ color: oklch(53.8% 0.092 224.7);
Tailwind
colors: {
custom: {
50: '#6f9fb5',
500: '#1f7996',
950: '#000000',
},
}SCSS
$custom: #1f7996; $custom-light: #6f9fb5; $custom-dark: #000000;
JSON
{
"hex": "#1f7996",
"rgb": {
"r": 31,
"g": 121,
"b": 150
},
"hsl": {
"h": 194.622,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.53835,
"c": 0.09188,
"h": 224.7
},
"luminance": 0.16168
}Semantic roles & 50–950 ramp
primary
#1F7996
secondary
#BF6C52
accent
#683FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80