#1F7795#1F7795
#1F7795 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.092 H 226.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7795 |
|---|---|
| RGB | rgb(31, 119, 149) |
| HSL | hsl(195, 66%, 35%) |
| HSV | hsv(195, 79%, 58%) |
| CMYK | cmyk(79.2%, 20.1%, 0%, 41.6%) |
| CIE-LAB | lab(46.52, -14.63, -23.48) |
| CIE-LCH | lch(46.52, 27.66, 238.08°) |
| OKLab | oklab(53.28% -0.0637 -0.0659) |
| OKLCH | oklch(53.28% 0.092 226) |
| XYZ | xyz(12.5845, 15.6534, 30.7861) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 1.57
Ocean
#017B92
ΔE00 3.95
Cerulean
#007BA7
ΔE00 4.20
Ocean Blue (survey)
#03719C
ΔE00 4.64
Dirty Blue
#3F829D
ΔE00 4.90
Nice Blue
#107AB0
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7795 #953D1F
analogous
#1F9578 #1F7795 #1F3C95
triadic
#1F7795 #951F77 #77951F
tetradic
#1F7795 #781F95 #953D1F #3C951F
square
#1F7795 #781F95 #953D1F #3C951F
split-complementary
#1F7795 #951F3C #95781F
monochromatic
#0A2630 #144F62 #1F7795 #2A9FC8 #53B9DB
Accessibility & contrast
On white
5.08
#1F7795 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#1F7795 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7795
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7795 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#677597
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7795; /* rgb */ color: rgb(31, 119, 149); /* oklch */ color: oklch(53.3% 0.092 226.0);
Tailwind
colors: {
custom: {
50: '#6e9eb4',
500: '#1f7795',
950: '#000000',
},
}SCSS
$custom: #1f7795; $custom-light: #6e9eb4; $custom-dark: #000000;
JSON
{
"hex": "#1f7795",
"rgb": {
"r": 31,
"g": 119,
"b": 149
},
"hsl": {
"h": 195.254,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.5328,
"c": 0.09168,
"h": 226
},
"luminance": 0.15655
}Semantic roles & 50–950 ramp
primary
#1F7795
secondary
#BF6D51
accent
#6A3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80