#318FB8#318FB8
#318FB8 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.3% C 0.106 H 231.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #318FB8 |
|---|---|
| RGB | rgb(49, 143, 184) |
| HSL | hsl(198, 58%, 46%) |
| HSV | hsv(198, 73%, 72%) |
| CMYK | cmyk(73.4%, 22.3%, 0%, 27.8%) |
| CIE-LAB | lab(55.84, -13.58, -29.28) |
| CIE-LCH | lch(55.84, 32.27, 245.11°) |
| OKLab | oklab(61.35% -0.0663 -0.0823) |
| OKLCH | oklch(61.35% 0.106 231.1) |
| XYZ | xyz(19.7373, 23.7563, 48.8833) |
| Luminance | 0.2376 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.83
Water Blue
#0E87CC
ΔE00 6.66
Steel Blue
#4682B4
ΔE00 7.13
Dusty Blue
#5A86AD
ΔE00 7.13
Cool Blue
#4984B8
ΔE00 7.21
Off Blue
#5684AE
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318FB8 #B85A31
analogous
#31B89D #318FB8 #314BB8
triadic
#318FB8 #B8318F #8FB831
tetradic
#318FB8 #9D31B8 #B85A31 #4BB831
square
#318FB8 #9D31B8 #B85A31 #4BB831
split-complementary
#318FB8 #B8314B #B89D31
monochromatic
#174457 #246988 #318FB8 #55ACD2 #85C3DE
Accessibility & contrast
On white
3.65
#318FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#318FB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318FB8
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318FB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318FB8 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8DBA
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #318fb8; /* rgb */ color: rgb(49, 143, 184); /* oklch */ color: oklch(61.3% 0.106 231.1);
Tailwind
colors: {
custom: {
50: '#7bafcd',
500: '#318fb8',
950: '#000000',
},
}SCSS
$custom: #318fb8; $custom-light: #7bafcd; $custom-dark: #000000;
JSON
{
"hex": "#318fb8",
"rgb": {
"r": 49,
"g": 143,
"b": 184
},
"hsl": {
"h": 198.222,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.61345,
"c": 0.10563,
"h": 231.1
},
"luminance": 0.23759
}Semantic roles & 50–950 ramp
primary
#318FB8
secondary
#C8947D
accent
#7647E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82