#1F7199#1F7199
#1F7199 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.0% C 0.098 H 235.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7199 |
|---|---|
| RGB | rgb(31, 113, 153) |
| HSL | hsl(200, 66%, 36%) |
| HSV | hsv(200, 80%, 60%) |
| CMYK | cmyk(79.7%, 26.1%, 0%, 40%) |
| CIE-LAB | lab(44.80, -9.73, -28.51) |
| CIE-LCH | lch(44.80, 30.13, 251.15°) |
| OKLab | oklab(51.97% -0.0563 -0.0804) |
| OKLCH | oklch(51.97% 0.098 235) |
| XYZ | xyz(12.2177, 14.4000, 32.2664) |
| Luminance | 0.1440 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean Blue (survey)
#03719C
ΔE00 1.03
Sea Blue
#047495
ΔE00 3.73
Cerulean
#007BA7
ΔE00 3.85
Peacock Blue
#016795
ΔE00 3.93
Nice Blue
#107AB0
ΔE00 4.48
Ugly Blue
#31668A
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7199 #99471F
analogous
#1F9984 #1F7199 #1F3499
triadic
#1F7199 #991F71 #71991F
tetradic
#1F7199 #841F99 #99471F #34991F
square
#1F7199 #841F99 #99471F #34991F
split-complementary
#1F7199 #991F34 #99841F
monochromatic
#0A2633 #154B66 #1F7199 #2997CC #56B0DD
Accessibility & contrast
On white
5.41
#1F7199 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#1F7199 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7199
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7199 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D709B
Deuteranopia (green-blind)
#4D6598
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #1f7199; /* rgb */ color: rgb(31, 113, 153); /* oklch */ color: oklch(52.0% 0.098 235.0);
Tailwind
colors: {
custom: {
50: '#6f99b7',
500: '#1f7199',
950: '#000000',
},
}SCSS
$custom: #1f7199; $custom-light: #6f99b7; $custom-dark: #000000;
JSON
{
"hex": "#1f7199",
"rgb": {
"r": 31,
"g": 113,
"b": 153
},
"hsl": {
"h": 199.672,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.51968,
"c": 0.09818,
"h": 235
},
"luminance": 0.14401
}Semantic roles & 50–950 ramp
primary
#1F7199
secondary
#C07754
accent
#773FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80