#318EB4#318EB4
#318EB4 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.103 H 229.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #318EB4 |
|---|---|
| RGB | rgb(49, 142, 180) |
| HSL | hsl(197, 57%, 45%) |
| HSV | hsv(197, 73%, 71%) |
| CMYK | cmyk(72.8%, 21.1%, 0%, 29.4%) |
| CIE-LAB | lab(55.37, -14.39, -27.73) |
| CIE-LCH | lch(55.37, 31.24, 242.57°) |
| OKLab | oklab(60.91% -0.0667 -0.0778) |
| OKLCH | oklch(60.91% 0.103 229.4) |
| XYZ | xyz(19.1745, 23.2920, 46.6564) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.09
Teal Blue
#01889F
ΔE00 6.99
Cerulean
#007BA7
ΔE00 7.39
Dusty Blue
#5A86AD
ΔE00 7.41
Water Blue
#0E87CC
ΔE00 7.42
Steel Blue
#4682B4
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318EB4 #B45731
analogous
#31B499 #318EB4 #314CB4
triadic
#318EB4 #B4318E #8EB431
tetradic
#318EB4 #9931B4 #B45731 #4CB431
square
#318EB4 #9931B4 #B45731 #4CB431
split-complementary
#318EB4 #B4314C #B49931
monochromatic
#174254 #246884 #318EB4 #52ABD0 #82C3DD
Accessibility & contrast
On white
3.71
#318EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#318EB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318EB4
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318EB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318EB4 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8CB6
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #318eb4; /* rgb */ color: rgb(49, 142, 180); /* oklch */ color: oklch(60.9% 0.103 229.4);
Tailwind
colors: {
custom: {
50: '#7bafca',
500: '#318eb4',
950: '#000000',
},
}SCSS
$custom: #318eb4; $custom-light: #7bafca; $custom-dark: #000000;
JSON
{
"hex": "#318eb4",
"rgb": {
"r": 49,
"g": 142,
"b": 180
},
"hsl": {
"h": 197.405,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.60913,
"c": 0.10251,
"h": 229.4
},
"luminance": 0.23294
}Semantic roles & 50–950 ramp
primary
#318EB4
secondary
#C6907B
accent
#7447E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82