#318EB5#318EB5
#318EB5 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.0% C 0.103 H 230.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #318EB5 |
|---|---|
| RGB | rgb(49, 142, 181) |
| HSL | hsl(198, 57%, 45%) |
| HSV | hsv(198, 73%, 71%) |
| CMYK | cmyk(72.9%, 21.5%, 0%, 29%) |
| CIE-LAB | lab(55.41, -14.05, -28.23) |
| CIE-LCH | lch(55.41, 31.54, 243.54°) |
| OKLab | oklab(60.96% -0.0664 -0.0793) |
| OKLCH | oklch(60.96% 0.103 230.1) |
| XYZ | xyz(19.2768, 23.3329, 47.1949) |
| Luminance | 0.2334 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.25
Water Blue
#0E87CC
ΔE00 7.09
Dusty Blue
#5A86AD
ΔE00 7.25
Steel Blue
#4682B4
ΔE00 7.28
Teal Blue
#01889F
ΔE00 7.28
Cerulean
#007BA7
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318EB5 #B55831
analogous
#31B59A #318EB5 #314CB5
triadic
#318EB5 #B5318E #8EB531
tetradic
#318EB5 #9A31B5 #B55831 #4CB531
square
#318EB5 #9A31B5 #B55831 #4CB531
split-complementary
#318EB5 #B5314C #B59A31
monochromatic
#174255 #246885 #318EB5 #53ABD0 #83C3DD
Accessibility & contrast
On white
3.71
#318EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#318EB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318EB5
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318EB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318EB5 | 1.00 | 3.71 | 5.67 | 5.67 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8CB7
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #318eb5; /* rgb */ color: rgb(49, 142, 181); /* oklch */ color: oklch(61.0% 0.103 230.1);
Tailwind
colors: {
custom: {
50: '#7bafcb',
500: '#318eb5',
950: '#000000',
},
}SCSS
$custom: #318eb5; $custom-light: #7bafcb; $custom-dark: #000000;
JSON
{
"hex": "#318eb5",
"rgb": {
"r": 49,
"g": 142,
"b": 181
},
"hsl": {
"h": 197.727,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.60961,
"c": 0.10339,
"h": 230.1
},
"luminance": 0.23335
}Semantic roles & 50–950 ramp
primary
#318EB5
secondary
#C7917B
accent
#7547E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82