#318DB7#318DB7
#318DB7 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.8% C 0.106 H 232.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #318DB7 |
|---|---|
| RGB | rgb(49, 141, 183) |
| HSL | hsl(199, 58%, 45%) |
| HSV | hsv(199, 73%, 72%) |
| CMYK | cmyk(73.2%, 23%, 0%, 28.2%) |
| CIE-LAB | lab(55.20, -12.81, -29.71) |
| CIE-LCH | lch(55.20, 32.36, 246.67°) |
| OKLab | oklab(60.81% -0.0646 -0.0835) |
| OKLCH | oklch(60.81% 0.106 232.3) |
| XYZ | xyz(19.3353, 23.1194, 48.2340) |
| Luminance | 0.2312 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.55
Water Blue
#0E87CC
ΔE00 5.97
Steel Blue
#4682B4
ΔE00 6.42
Cool Blue
#4984B8
ΔE00 6.55
Dusty Blue
#5A86AD
ΔE00 6.65
Off Blue
#5684AE
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318DB7 #B75B31
analogous
#31B79E #318DB7 #314AB7
triadic
#318DB7 #B7318D #8DB731
tetradic
#318DB7 #9E31B7 #B75B31 #4AB731
square
#318DB7 #9E31B7 #B75B31 #4AB731
split-complementary
#318DB7 #B7314A #B79E31
monochromatic
#174356 #246887 #318DB7 #54AAD1 #84C2DE
Accessibility & contrast
On white
3.73
#318DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#318DB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318DB7
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318DB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318DB7 | 1.00 | 3.73 | 5.62 | 5.62 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788BB9
Deuteranopia (green-blind)
#667EB6
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #318db7; /* rgb */ color: rgb(49, 141, 183); /* oklch */ color: oklch(60.8% 0.106 232.3);
Tailwind
colors: {
custom: {
50: '#7baecc',
500: '#318db7',
950: '#000000',
},
}SCSS
$custom: #318db7; $custom-light: #7baecc; $custom-dark: #000000;
JSON
{
"hex": "#318db7",
"rgb": {
"r": 49,
"g": 141,
"b": 183
},
"hsl": {
"h": 198.806,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.60814,
"c": 0.10562,
"h": 232.3
},
"luminance": 0.23122
}Semantic roles & 50–950 ramp
primary
#318DB7
secondary
#C8947C
accent
#7747E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82