#318AB4#318AB4
#318AB4 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.9% C 0.104 H 233.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #318AB4 |
|---|---|
| RGB | rgb(49, 138, 180) |
| HSL | hsl(199, 57%, 45%) |
| HSV | hsv(199, 73%, 71%) |
| CMYK | cmyk(72.8%, 23.3%, 0%, 29.4%) |
| CIE-LAB | lab(54.16, -12.17, -29.61) |
| CIE-LCH | lch(54.16, 32.01, 247.66°) |
| OKLab | oklab(59.94% -0.0627 -0.0833) |
| OKLCH | oklch(59.94% 0.104 233) |
| XYZ | xyz(18.5900, 22.1231, 46.4616) |
| Luminance | 0.2213 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.96
Water Blue
#0E87CC
ΔE00 5.51
Steel Blue
#4682B4
ΔE00 5.68
Cool Blue
#4984B8
ΔE00 5.95
Cerulean
#007BA7
ΔE00 5.97
Dusty Blue
#5A86AD
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318AB4 #B45B31
analogous
#31B49D #318AB4 #3148B4
triadic
#318AB4 #B4318A #8AB431
tetradic
#318AB4 #9D31B4 #B45B31 #48B431
square
#318AB4 #9D31B4 #B45B31 #48B431
split-complementary
#318AB4 #B43148 #B49D31
monochromatic
#174054 #246584 #318AB4 #52A8D0 #82C0DD
Accessibility & contrast
On white
3.87
#318AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#318AB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318AB4
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318AB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318AB4 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7589B6
Deuteranopia (green-blind)
#637CB3
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #318ab4; /* rgb */ color: rgb(49, 138, 180); /* oklch */ color: oklch(59.9% 0.104 233.0);
Tailwind
colors: {
custom: {
50: '#7bacca',
500: '#318ab4',
950: '#000000',
},
}SCSS
$custom: #318ab4; $custom-light: #7bacca; $custom-dark: #000000;
JSON
{
"hex": "#318ab4",
"rgb": {
"r": 49,
"g": 138,
"b": 180
},
"hsl": {
"h": 199.237,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.59944,
"c": 0.10424,
"h": 233
},
"luminance": 0.22125
}Semantic roles & 50–950 ramp
primary
#318AB4
secondary
#C6937B
accent
#7847E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82