#318FB4#318FB4
#318FB4 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.102 H 228.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #318FB4 |
|---|---|
| RGB | rgb(49, 143, 180) |
| HSL | hsl(197, 57%, 45%) |
| HSV | hsv(197, 73%, 71%) |
| CMYK | cmyk(72.8%, 20.6%, 0%, 29.4%) |
| CIE-LAB | lab(55.68, -14.94, -27.26) |
| CIE-LCH | lch(55.68, 31.08, 241.27°) |
| OKLab | oklab(61.16% -0.0677 -0.0765) |
| OKLCH | oklch(61.16% 0.102 228.5) |
| XYZ | xyz(19.3240, 23.5909, 46.7062) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.23
Teal Blue
#01889F
ΔE00 6.77
Dusty Blue
#5A86AD
ΔE00 7.75
Cerulean
#007BA7
ΔE00 7.79
Water Blue
#0E87CC
ΔE00 7.92
Steel Blue
#4682B4
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318FB4 #B45631
analogous
#31B498 #318FB4 #314DB4
triadic
#318FB4 #B4318F #8FB431
tetradic
#318FB4 #9831B4 #B45631 #4DB431
square
#318FB4 #9831B4 #B45631 #4DB431
split-complementary
#318FB4 #B4314D #B49831
monochromatic
#174354 #246984 #318FB4 #52ACD0 #82C3DD
Accessibility & contrast
On white
3.67
#318FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#318FB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318FB4
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318FB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318FB4 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C8DB6
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #318fb4; /* rgb */ color: rgb(49, 143, 180); /* oklch */ color: oklch(61.2% 0.102 228.5);
Tailwind
colors: {
custom: {
50: '#7bafca',
500: '#318fb4',
950: '#000000',
},
}SCSS
$custom: #318fb4; $custom-light: #7bafca; $custom-dark: #000000;
JSON
{
"hex": "#318fb4",
"rgb": {
"r": 49,
"g": 143,
"b": 180
},
"hsl": {
"h": 196.947,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.61156,
"c": 0.10215,
"h": 228.5
},
"luminance": 0.23593
}Semantic roles & 50–950 ramp
primary
#318FB4
secondary
#C6907B
accent
#7347E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82