#318CB7#318CB7
#318CB7 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.6% C 0.106 H 233.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #318CB7 |
|---|---|
| RGB | rgb(49, 140, 183) |
| HSL | hsl(199, 58%, 45%) |
| HSV | hsv(199, 73%, 72%) |
| CMYK | cmyk(73.2%, 23.5%, 0%, 28.2%) |
| CIE-LAB | lab(54.89, -12.25, -30.18) |
| CIE-LCH | lch(54.89, 32.57, 247.90°) |
| OKLab | oklab(60.57% -0.0636 -0.0849) |
| OKLCH | oklch(60.57% 0.106 233.1) |
| XYZ | xyz(19.1885, 22.8258, 48.1851) |
| Luminance | 0.2283 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 5.50
Dirty Blue
#3F829D
ΔE00 5.55
Steel Blue
#4682B4
ΔE00 5.97
Cool Blue
#4984B8
ΔE00 6.12
Dusty Blue
#5A86AD
ΔE00 6.37
Off Blue
#5684AE
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318CB7 #B75C31
analogous
#31B79F #318CB7 #3149B7
triadic
#318CB7 #B7318C #8CB731
tetradic
#318CB7 #9F31B7 #B75C31 #49B731
square
#318CB7 #9F31B7 #B75C31 #49B731
split-complementary
#318CB7 #B73149 #B79F31
monochromatic
#174256 #246787 #318CB7 #54A9D1 #84C1DE
Accessibility & contrast
On white
3.77
#318CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#318CB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318CB7
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318CB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318CB7 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#778BB9
Deuteranopia (green-blind)
#657EB6
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #318cb7; /* rgb */ color: rgb(49, 140, 183); /* oklch */ color: oklch(60.6% 0.106 233.1);
Tailwind
colors: {
custom: {
50: '#7badcc',
500: '#318cb7',
950: '#000000',
},
}SCSS
$custom: #318cb7; $custom-light: #7badcc; $custom-dark: #000000;
JSON
{
"hex": "#318cb7",
"rgb": {
"r": 49,
"g": 140,
"b": 183
},
"hsl": {
"h": 199.254,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.60573,
"c": 0.10611,
"h": 233.1
},
"luminance": 0.22828
}Semantic roles & 50–950 ramp
primary
#318CB7
secondary
#C8947C
accent
#7847E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82