#31768E#31768E
#31768E is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.2% C 0.078 H 224.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #31768E |
|---|---|
| RGB | rgb(49, 118, 142) |
| HSL | hsl(195, 49%, 37%) |
| HSV | hsv(195, 65%, 56%) |
| CMYK | cmyk(65.5%, 16.9%, 0%, 44.3%) |
| CIE-LAB | lab(46.39, -13.82, -19.49) |
| CIE-LCH | lch(46.39, 23.90, 234.66°) |
| OKLab | oklab(53.22% -0.056 -0.0544) |
| OKLCH | oklch(53.22% 0.078 224.2) |
| XYZ | xyz(12.6256, 15.5615, 27.9242) |
| Luminance | 0.1556 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 3.08
Ocean
#017B92
ΔE00 3.77
Dirty Blue
#3F829D
ΔE00 4.91
Cerulean
#007BA7
ΔE00 5.88
Ocean Blue (survey)
#03719C
ΔE00 6.03
Metallic Blue
#4F738E
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31768E #8E4931
analogous
#318E78 #31768E #31478E
triadic
#31768E #8E3176 #768E31
tetradic
#31768E #78318E #8E4931 #478E31
square
#31768E #78318E #8E4931 #478E31
split-complementary
#31768E #8E3147 #8E7831
monochromatic
#122A33 #215061 #31768E #419CBB #6DB4CD
Accessibility & contrast
On white
5.11
#31768E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#31768E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31768E
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31768E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31768E | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69738F
Deuteranopia (green-blind)
#5B6A8E
Tritanopia (blue-blind)
#007D7E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #31768e; /* rgb */ color: rgb(49, 118, 142); /* oklch */ color: oklch(53.2% 0.078 224.2);
Tailwind
colors: {
custom: {
50: '#749daf',
500: '#31768e',
950: '#000000',
},
}SCSS
$custom: #31768e; $custom-light: #749daf; $custom-dark: #000000;
JSON
{
"hex": "#31768e",
"rgb": {
"r": 49,
"g": 118,
"b": 142
},
"hsl": {
"h": 195.484,
"s": 48.691,
"l": 37.451
},
"oklch": {
"l": 0.53223,
"c": 0.07803,
"h": 224.2
},
"luminance": 0.15563
}Semantic roles & 50–950 ramp
primary
#31768E
secondary
#B47B67
accent
#7350D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F