#318CA8#318CA8
#318CA8 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.9% C 0.094 H 222.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #318CA8 |
|---|---|
| RGB | rgb(49, 140, 168) |
| HSL | hsl(194, 55%, 43%) |
| HSV | hsv(194, 71%, 66%) |
| CMYK | cmyk(70.8%, 16.7%, 0%, 34.1%) |
| CIE-LAB | lab(54.27, -17.33, -22.55) |
| CIE-LCH | lch(54.27, 28.44, 232.46°) |
| OKLab | oklab(59.88% -0.0693 -0.063) |
| OKLCH | oklch(59.88% 0.094 222.3) |
| XYZ | xyz(17.7097, 22.2343, 40.3965) |
| Luminance | 0.2224 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 3.85
Dirty Blue
#3F829D
ΔE00 3.98
Ocean
#017B92
ΔE00 7.28
Cerulean
#007BA7
ΔE00 8.07
Greyish Blue
#5E819D
ΔE00 9.04
Dusty Blue
#5A86AD
ΔE00 9.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318CA8 #A84D31
analogous
#31A889 #318CA8 #3150A8
triadic
#318CA8 #A8318C #8CA831
tetradic
#318CA8 #8931A8 #A84D31 #50A831
square
#318CA8 #8931A8 #A84D31 #50A831
split-complementary
#318CA8 #A83150 #A88931
monochromatic
#153D49 #236579 #318CA8 #4CADCB #7BC2D8
Accessibility & contrast
On white
3.86
#318CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#318CA8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318CA8
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318CA8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318CA8 | 1.00 | 3.86 | 5.45 | 5.45 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C89A9
Deuteranopia (green-blind)
#6B7DA8
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #318ca8; /* rgb */ color: rgb(49, 140, 168); /* oklch */ color: oklch(59.9% 0.094 222.3);
Tailwind
colors: {
custom: {
50: '#79adc2',
500: '#318ca8',
950: '#000000',
},
}SCSS
$custom: #318ca8; $custom-light: #79adc2; $custom-dark: #000000;
JSON
{
"hex": "#318ca8",
"rgb": {
"r": 49,
"g": 140,
"b": 168
},
"hsl": {
"h": 194.118,
"s": 54.839,
"l": 42.549
},
"oklch": {
"l": 0.59875,
"c": 0.09363,
"h": 222.3
},
"luminance": 0.22236
}Semantic roles & 50–950 ramp
primary
#318CA8
secondary
#C18674
accent
#6D4ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81