#318AC2#318AC2
#318AC2 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.7% C 0.119 H 240.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #318AC2 |
|---|---|
| RGB | rgb(49, 138, 194) |
| HSL | hsl(203, 60%, 48%) |
| HSV | hsv(203, 75%, 76%) |
| CMYK | cmyk(74.7%, 28.9%, 0%, 23.9%) |
| CIE-LAB | lab(54.79, -7.27, -36.61) |
| CIE-LCH | lch(54.79, 37.33, 258.76°) |
| OKLab | oklab(60.65% -0.058 -0.1035) |
| OKLCH | oklch(60.65% 0.119 240.7) |
| XYZ | xyz(20.0889, 22.7226, 54.3556) |
| Luminance | 0.2273 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 2.07
Cerulean (survey)
#0485D1
ΔE00 3.12
Cool Blue
#4984B8
ΔE00 3.77
Steel Blue
#4682B4
ΔE00 3.91
Off Blue
#5684AE
ΔE00 5.19
Dusty Blue
#5A86AD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318AC2 #C26931
analogous
#31C2B1 #318AC2 #3142C2
triadic
#318AC2 #C2318A #8AC231
tetradic
#318AC2 #B131C2 #C26931 #42C231
square
#318AC2 #B131C2 #C26931 #42C231
split-complementary
#318AC2 #C23142 #C2B131
monochromatic
#184460 #256791 #318AC2 #5BA6D6 #8CC1E2
Accessibility & contrast
On white
3.79
#318AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#318AC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318AC2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318AC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318AC2 | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#00989E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #318ac2; /* rgb */ color: rgb(49, 138, 194); /* oklch */ color: oklch(60.7% 0.119 240.7);
Tailwind
colors: {
custom: {
50: '#7dacd4',
500: '#318ac2',
950: '#000000',
},
}SCSS
$custom: #318ac2; $custom-light: #7dacd4; $custom-dark: #000000;
JSON
{
"hex": "#318ac2",
"rgb": {
"r": 49,
"g": 138,
"b": 194
},
"hsl": {
"h": 203.172,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.6065,
"c": 0.11867,
"h": 240.7
},
"luminance": 0.22725
}Semantic roles & 50–950 ramp
primary
#318AC2
secondary
#CC9F83
accent
#8245E3
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83