#318FB5#318FB5
#318FB5 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.103 H 229.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #318FB5 |
|---|---|
| RGB | rgb(49, 143, 181) |
| HSL | hsl(197, 57%, 45%) |
| HSV | hsv(197, 73%, 71%) |
| CMYK | cmyk(72.9%, 21%, 0%, 29%) |
| CIE-LAB | lab(55.72, -14.60, -27.76) |
| CIE-LCH | lch(55.72, 31.37, 242.26°) |
| OKLab | oklab(61.2% -0.0674 -0.0779) |
| OKLCH | oklch(61.2% 0.103 229.1) |
| XYZ | xyz(19.4262, 23.6318, 47.2447) |
| Luminance | 0.2363 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.36
Teal Blue
#01889F
ΔE00 7.06
Dusty Blue
#5A86AD
ΔE00 7.58
Water Blue
#0E87CC
ΔE00 7.60
Cerulean
#007BA7
ΔE00 7.73
Steel Blue
#4682B4
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318FB5 #B55731
analogous
#31B599 #318FB5 #314DB5
triadic
#318FB5 #B5318F #8FB531
tetradic
#318FB5 #9931B5 #B55731 #4DB531
square
#318FB5 #9931B5 #B55731 #4DB531
split-complementary
#318FB5 #B5314D #B59931
monochromatic
#174355 #246985 #318FB5 #53ACD0 #83C3DD
Accessibility & contrast
On white
3.67
#318FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#318FB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318FB5
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318FB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318FB5 | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B8DB7
Deuteranopia (green-blind)
#6980B4
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #318fb5; /* rgb */ color: rgb(49, 143, 181); /* oklch */ color: oklch(61.2% 0.103 229.1);
Tailwind
colors: {
custom: {
50: '#7bafcb',
500: '#318fb5',
950: '#000000',
},
}SCSS
$custom: #318fb5; $custom-light: #7bafcb; $custom-dark: #000000;
JSON
{
"hex": "#318fb5",
"rgb": {
"r": 49,
"g": 143,
"b": 181
},
"hsl": {
"h": 197.273,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.61203,
"c": 0.103,
"h": 229.1
},
"luminance": 0.23634
}Semantic roles & 50–950 ramp
primary
#318FB5
secondary
#C7917B
accent
#7347E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82