#318CB4#318CB4
#318CB4 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.103 H 231.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #318CB4 |
|---|---|
| RGB | rgb(49, 140, 180) |
| HSL | hsl(198, 57%, 45%) |
| HSV | hsv(198, 73%, 71%) |
| CMYK | cmyk(72.8%, 22.2%, 0%, 29.4%) |
| CIE-LAB | lab(54.76, -13.28, -28.67) |
| CIE-LCH | lch(54.76, 31.60, 245.14°) |
| OKLab | oklab(60.43% -0.0647 -0.0805) |
| OKLCH | oklch(60.43% 0.103 231.2) |
| XYZ | xyz(18.8796, 22.7023, 46.5581) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.93
Water Blue
#0E87CC
ΔE00 6.44
Steel Blue
#4682B4
ΔE00 6.58
Cerulean
#007BA7
ΔE00 6.64
Dusty Blue
#5A86AD
ΔE00 6.77
Cool Blue
#4984B8
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318CB4 #B45931
analogous
#31B49B #318CB4 #314AB4
triadic
#318CB4 #B4318C #8CB431
tetradic
#318CB4 #9B31B4 #B45931 #4AB431
square
#318CB4 #9B31B4 #B45931 #4AB431
split-complementary
#318CB4 #B4314A #B49B31
monochromatic
#174154 #246784 #318CB4 #52AAD0 #82C1DD
Accessibility & contrast
On white
3.79
#318CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#318CB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318CB4
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318CB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318CB4 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788AB6
Deuteranopia (green-blind)
#667DB3
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #318cb4; /* rgb */ color: rgb(49, 140, 180); /* oklch */ color: oklch(60.4% 0.103 231.2);
Tailwind
colors: {
custom: {
50: '#7badca',
500: '#318cb4',
950: '#000000',
},
}SCSS
$custom: #318cb4; $custom-light: #7badca; $custom-dark: #000000;
JSON
{
"hex": "#318cb4",
"rgb": {
"r": 49,
"g": 140,
"b": 180
},
"hsl": {
"h": 198.321,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.60428,
"c": 0.10332,
"h": 231.2
},
"luminance": 0.22704
}Semantic roles & 50–950 ramp
primary
#318CB4
secondary
#C6927B
accent
#7647E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82