#318BB2#318BB2
#318BB2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.102 H 230.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #318BB2 |
|---|---|
| RGB | rgb(49, 139, 178) |
| HSL | hsl(198, 57%, 45%) |
| HSV | hsv(198, 72%, 70%) |
| CMYK | cmyk(72.5%, 21.9%, 0%, 30.2%) |
| CIE-LAB | lab(54.38, -13.41, -28.13) |
| CIE-LCH | lch(54.38, 31.16, 244.51°) |
| OKLab | oklab(60.09% -0.0644 -0.079) |
| OKLCH | oklch(60.09% 0.102 230.8) |
| XYZ | xyz(18.5319, 22.3304, 45.4444) |
| Luminance | 0.2233 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.51
Cerulean
#007BA7
ΔE00 6.33
Steel Blue
#4682B4
ΔE00 6.58
Water Blue
#0E87CC
ΔE00 6.62
Dusty Blue
#5A86AD
ΔE00 6.79
Cool Blue
#4984B8
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318BB2 #B25831
analogous
#31B299 #318BB2 #314AB2
triadic
#318BB2 #B2318B #8BB231
tetradic
#318BB2 #9931B2 #B25831 #4AB231
square
#318BB2 #9931B2 #B25831 #4AB231
split-complementary
#318BB2 #B2314A #B29931
monochromatic
#174052 #246682 #318BB2 #51A9CF #81C1DC
Accessibility & contrast
On white
3.84
#318BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#318BB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318BB2
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318BB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318BB2 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #318bb2; /* rgb */ color: rgb(49, 139, 178); /* oklch */ color: oklch(60.1% 0.102 230.8);
Tailwind
colors: {
custom: {
50: '#7aacc9',
500: '#318bb2',
950: '#000000',
},
}SCSS
$custom: #318bb2; $custom-light: #7aacc9; $custom-dark: #000000;
JSON
{
"hex": "#318bb2",
"rgb": {
"r": 49,
"g": 139,
"b": 178
},
"hsl": {
"h": 198.14,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.6009,
"c": 0.10194,
"h": 230.8
},
"luminance": 0.22333
}Semantic roles & 50–950 ramp
primary
#318BB2
secondary
#C59079
accent
#7648E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82