#318AB1#318AB1
#318AB1 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.101 H 231.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #318AB1 |
|---|---|
| RGB | rgb(49, 138, 177) |
| HSL | hsl(198, 57%, 44%) |
| HSV | hsv(198, 72%, 69%) |
| CMYK | cmyk(72.3%, 22%, 0%, 30.6%) |
| CIE-LAB | lab(54.03, -13.20, -28.09) |
| CIE-LCH | lch(54.03, 31.04, 244.84°) |
| OKLab | oklab(59.8% -0.0638 -0.0789) |
| OKLCH | oklch(59.8% 0.101 231) |
| XYZ | xyz(18.2877, 22.0022, 44.8695) |
| Luminance | 0.2200 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.29
Cerulean
#007BA7
ΔE00 5.98
Steel Blue
#4682B4
ΔE00 6.37
Water Blue
#0E87CC
ΔE00 6.49
Dusty Blue
#5A86AD
ΔE00 6.67
Cool Blue
#4984B8
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318AB1 #B15831
analogous
#31B198 #318AB1 #314AB1
triadic
#318AB1 #B1318A #8AB131
tetradic
#318AB1 #9831B1 #B15831 #4AB131
square
#318AB1 #9831B1 #B15831 #4AB131
split-complementary
#318AB1 #B1314A #B19831
monochromatic
#163F51 #246581 #318AB1 #51A8CF #80C0DC
Accessibility & contrast
On white
3.89
#318AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#318AB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318AB1
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318AB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318AB1 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7688B3
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #318ab1; /* rgb */ color: rgb(49, 138, 177); /* oklch */ color: oklch(59.8% 0.101 231.0);
Tailwind
colors: {
custom: {
50: '#7aacc8',
500: '#318ab1',
950: '#000000',
},
}SCSS
$custom: #318ab1; $custom-light: #7aacc8; $custom-dark: #000000;
JSON
{
"hex": "#318ab1",
"rgb": {
"r": 49,
"g": 138,
"b": 177
},
"hsl": {
"h": 198.281,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.598,
"c": 0.10147,
"h": 231
},
"luminance": 0.22004
}Semantic roles & 50–950 ramp
primary
#318AB1
secondary
#C59079
accent
#7648E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82