#318CB2#318CB2
#318CB2 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.102 H 229.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #318CB2 |
|---|---|
| RGB | rgb(49, 140, 178) |
| HSL | hsl(198, 57%, 45%) |
| HSV | hsv(198, 72%, 70%) |
| CMYK | cmyk(72.5%, 21.3%, 0%, 30.2%) |
| CIE-LAB | lab(54.68, -13.97, -27.66) |
| CIE-LCH | lch(54.68, 30.98, 243.21°) |
| OKLab | oklab(60.33% -0.0655 -0.0776) |
| OKLCH | oklch(60.33% 0.102 229.9) |
| XYZ | xyz(18.6774, 22.6213, 45.4929) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.56
Cerulean
#007BA7
ΔE00 6.71
Teal Blue
#01889F
ΔE00 6.88
Steel Blue
#4682B4
ΔE00 7.04
Water Blue
#0E87CC
ΔE00 7.10
Dusty Blue
#5A86AD
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318CB2 #B25731
analogous
#31B297 #318CB2 #314CB2
triadic
#318CB2 #B2318C #8CB231
tetradic
#318CB2 #9731B2 #B25731 #4CB231
square
#318CB2 #9731B2 #B25731 #4CB231
split-complementary
#318CB2 #B2314C #B29731
monochromatic
#174152 #246682 #318CB2 #51AACF #81C1DC
Accessibility & contrast
On white
3.80
#318CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#318CB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318CB2
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318CB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318CB2 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#798AB4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #318cb2; /* rgb */ color: rgb(49, 140, 178); /* oklch */ color: oklch(60.3% 0.102 229.9);
Tailwind
colors: {
custom: {
50: '#7aadc9',
500: '#318cb2',
950: '#000000',
},
}SCSS
$custom: #318cb2; $custom-light: #7aadc9; $custom-dark: #000000;
JSON
{
"hex": "#318cb2",
"rgb": {
"r": 49,
"g": 140,
"b": 178
},
"hsl": {
"h": 197.674,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.60333,
"c": 0.10154,
"h": 229.9
},
"luminance": 0.22623
}Semantic roles & 50–950 ramp
primary
#318CB2
secondary
#C59079
accent
#7548E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82