#1F7598#1F7598
#1F7598 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 52.9% C 0.095 H 230.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7598 |
|---|---|
| RGB | rgb(31, 117, 152) |
| HSL | hsl(197, 66%, 36%) |
| HSV | hsv(197, 80%, 60%) |
| CMYK | cmyk(79.6%, 23%, 0%, 40.4%) |
| CIE-LAB | lab(46.01, -12.42, -26.03) |
| CIE-LCH | lch(46.01, 28.84, 244.50°) |
| OKLab | oklab(52.92% -0.0606 -0.0732) |
| OKLCH | oklch(52.92% 0.095 230.4) |
| XYZ | xyz(12.5915, 15.2793, 31.9853) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 1.81
Ocean Blue (survey)
#03719C
ΔE00 2.66
Cerulean
#007BA7
ΔE00 3.04
Nice Blue
#107AB0
ΔE00 5.26
Dirty Blue
#3F829D
ΔE00 5.76
Ocean
#017B92
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7598 #98421F
analogous
#1F987E #1F7598 #1F3998
triadic
#1F7598 #981F75 #75981F
tetradic
#1F7598 #7E1F98 #98421F #39981F
square
#1F7598 #7E1F98 #98421F #39981F
split-complementary
#1F7598 #981F39 #987E1F
monochromatic
#0A2732 #154E65 #1F7598 #299CCB #55B5DC
Accessibility & contrast
On white
5.18
#1F7598 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#1F7598 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7598
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7598 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7598 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63739A
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7598; /* rgb */ color: rgb(31, 117, 152); /* oklch */ color: oklch(52.9% 0.095 230.4);
Tailwind
colors: {
custom: {
50: '#6f9cb6',
500: '#1f7598',
950: '#000000',
},
}SCSS
$custom: #1f7598; $custom-light: #6f9cb6; $custom-dark: #000000;
JSON
{
"hex": "#1f7598",
"rgb": {
"r": 31,
"g": 117,
"b": 152
},
"hsl": {
"h": 197.355,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.52921,
"c": 0.09507,
"h": 230.4
},
"luminance": 0.15281
}Semantic roles & 50–950 ramp
primary
#1F7598
secondary
#C07253
accent
#703FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80