#31778C#31778C
#31778C is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.4% C 0.076 H 220.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #31778C |
|---|---|
| RGB | rgb(49, 119, 140) |
| HSL | hsl(194, 48%, 37%) |
| HSV | hsv(194, 65%, 55%) |
| CMYK | cmyk(65%, 15%, 0%, 45.1%) |
| CIE-LAB | lab(46.63, -15.04, -17.95) |
| CIE-LCH | lch(46.63, 23.42, 230.03°) |
| OKLab | oklab(53.39% -0.0579 -0.05) |
| OKLCH | oklch(53.39% 0.076 220.8) |
| XYZ | xyz(12.5952, 15.7388, 27.1800) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 2.99
Sea Blue
#047495
ΔE00 4.07
Dirty Blue
#3F829D
ΔE00 5.14
Teal Blue
#01889F
ΔE00 6.70
Cerulean
#007BA7
ΔE00 6.97
Ocean Blue (survey)
#03719C
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31778C #8C4631
analogous
#318C74 #31778C #314A8C
triadic
#31778C #8C3177 #778C31
tetradic
#31778C #74318C #8C4631 #4A8C31
square
#31778C #74318C #8C4631 #4A8C31
split-complementary
#31778C #8C314A #8C7431
monochromatic
#112A31 #21505F #31778C #419EB9 #6CB5CC
Accessibility & contrast
On white
5.06
#31778C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#31778C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31778C
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31778C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31778C | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A748D
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #31778c; /* rgb */ color: rgb(49, 119, 140); /* oklch */ color: oklch(53.4% 0.076 220.8);
Tailwind
colors: {
custom: {
50: '#749ead',
500: '#31778c',
950: '#000000',
},
}SCSS
$custom: #31778c; $custom-light: #749ead; $custom-dark: #000000;
JSON
{
"hex": "#31778c",
"rgb": {
"r": 49,
"g": 119,
"b": 140
},
"hsl": {
"h": 193.846,
"s": 48.148,
"l": 37.059
},
"oklch": {
"l": 0.53386,
"c": 0.07649,
"h": 220.8
},
"luminance": 0.1574
}Semantic roles & 50–950 ramp
primary
#31778C
secondary
#B37866
accent
#6F50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F