#1F7899#1F7899
#1F7899 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.7% C 0.095 H 228.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7899 |
|---|---|
| RGB | rgb(31, 120, 153) |
| HSL | hsl(196, 66%, 36%) |
| HSV | hsv(196, 80%, 60%) |
| CMYK | cmyk(79.7%, 21.6%, 0%, 40%) |
| CIE-LAB | lab(47.00, -13.76, -25.08) |
| CIE-LCH | lch(47.00, 28.61, 241.25°) |
| OKLab | oklab(53.73% -0.0632 -0.0705) |
| OKLCH | oklch(53.73% 0.095 228.1) |
| XYZ | xyz(13.0290, 16.0226, 32.5368) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 1.88
Cerulean
#007BA7
ΔE00 3.10
Ocean Blue (survey)
#03719C
ΔE00 3.99
Dirty Blue
#3F829D
ΔE00 4.64
Ocean
#017B92
ΔE00 4.83
Nice Blue
#107AB0
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7899 #99401F
analogous
#1F997D #1F7899 #1F3B99
triadic
#1F7899 #991F78 #78991F
tetradic
#1F7899 #7D1F99 #99401F #3B991F
square
#1F7899 #7D1F99 #99401F #3B991F
split-complementary
#1F7899 #991F3B #997D1F
monochromatic
#0A2833 #155066 #1F7899 #29A0CC #56B8DD
Accessibility & contrast
On white
4.99
#1F7899 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#1F7899 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7899
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7899 | 1.00 | 4.99 | 4.20 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #1f7899; /* rgb */ color: rgb(31, 120, 153); /* oklch */ color: oklch(53.7% 0.095 228.1);
Tailwind
colors: {
custom: {
50: '#6f9fb7',
500: '#1f7899',
950: '#000000',
},
}SCSS
$custom: #1f7899; $custom-light: #6f9fb7; $custom-dark: #000000;
JSON
{
"hex": "#1f7899",
"rgb": {
"r": 31,
"g": 120,
"b": 153
},
"hsl": {
"h": 196.23,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.53727,
"c": 0.09467,
"h": 228.1
},
"luminance": 0.16024
}Semantic roles & 50–950 ramp
primary
#1F7899
secondary
#C07154
accent
#6D3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80