#1F778D#1F778D
#1F778D is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 52.9% C 0.086 H 218.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F778D |
|---|---|
| RGB | rgb(31, 119, 141) |
| HSL | hsl(192, 64%, 34%) |
| HSV | hsv(192, 78%, 55%) |
| CMYK | cmyk(78%, 15.6%, 0%, 44.7%) |
| CIE-LAB | lab(46.19, -17.44, -19.26) |
| CIE-LCH | lch(46.19, 25.98, 227.85°) |
| OKLab | oklab(52.91% -0.067 -0.0538) |
| OKLCH | oklch(52.91% 0.086 218.8) |
| XYZ | xyz(11.9676, 15.4066, 27.5372) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 1.81
Sea Blue
#047495
ΔE00 3.93
Dirty Blue
#3F829D
ΔE00 5.93
Teal Blue
#01889F
ΔE00 6.33
Deep Aqua
#08787F
ΔE00 6.99
Cerulean
#007BA7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F778D #8D351F
analogous
#1F8D6C #1F778D #1F408D
triadic
#1F778D #8D1F77 #778D1F
tetradic
#1F778D #6C1F8D #8D351F #408D1F
square
#1F778D #6C1F8D #8D351F #408D1F
split-complementary
#1F778D #8D1F40 #8D6C1F
monochromatic
#092229 #144D5B #1F778D #2AA1BF #4EBDD8
Accessibility & contrast
On white
5.15
#1F778D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#1F778D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F778D
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F778D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F778D | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69748E
Deuteranopia (green-blind)
#5A698D
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f778d; /* rgb */ color: rgb(31, 119, 141); /* oklch */ color: oklch(52.9% 0.086 218.8);
Tailwind
colors: {
custom: {
50: '#6d9eae',
500: '#1f778d',
950: '#000000',
},
}SCSS
$custom: #1f778d; $custom-light: #6d9eae; $custom-dark: #000000;
JSON
{
"hex": "#1f778d",
"rgb": {
"r": 31,
"g": 119,
"b": 141
},
"hsl": {
"h": 192,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.52905,
"c": 0.08593,
"h": 218.8
},
"luminance": 0.15408
}Semantic roles & 50–950 ramp
primary
#1F778D
secondary
#BB634D
accent
#6241E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F