#318CB3#318CB3
#318CB3 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.102 H 230.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #318CB3 |
|---|---|
| RGB | rgb(49, 140, 179) |
| HSL | hsl(198, 57%, 45%) |
| HSV | hsv(198, 73%, 70%) |
| CMYK | cmyk(72.6%, 21.8%, 0%, 29.8%) |
| CIE-LAB | lab(54.72, -13.63, -28.16) |
| CIE-LCH | lch(54.72, 31.28, 244.18°) |
| OKLab | oklab(60.38% -0.0651 -0.0791) |
| OKLCH | oklch(60.38% 0.102 230.5) |
| XYZ | xyz(18.7781, 22.6617, 46.0236) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.74
Cerulean
#007BA7
ΔE00 6.67
Water Blue
#0E87CC
ΔE00 6.76
Steel Blue
#4682B4
ΔE00 6.81
Dusty Blue
#5A86AD
ΔE00 6.93
Cool Blue
#4984B8
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318CB3 #B35831
analogous
#31B399 #318CB3 #314BB3
triadic
#318CB3 #B3318C #8CB331
tetradic
#318CB3 #9931B3 #B35831 #4BB331
square
#318CB3 #9931B3 #B35831 #4BB331
split-complementary
#318CB3 #B3314B #B39931
monochromatic
#174153 #246683 #318CB3 #52AAD0 #82C1DD
Accessibility & contrast
On white
3.80
#318CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#318CB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318CB3
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318CB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318CB3 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788AB5
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #318cb3; /* rgb */ color: rgb(49, 140, 179); /* oklch */ color: oklch(60.4% 0.102 230.5);
Tailwind
colors: {
custom: {
50: '#7badca',
500: '#318cb3',
950: '#000000',
},
}SCSS
$custom: #318cb3; $custom-light: #7badca; $custom-dark: #000000;
JSON
{
"hex": "#318cb3",
"rgb": {
"r": 49,
"g": 140,
"b": 179
},
"hsl": {
"h": 198,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.60381,
"c": 0.10242,
"h": 230.5
},
"luminance": 0.22664
}Semantic roles & 50–950 ramp
primary
#318CB3
secondary
#C6917A
accent
#7548E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82