#315A8F#315A8F
#315A8F is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.4% C 0.098 H 255.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #315A8F |
|---|---|
| RGB | rgb(49, 90, 143) |
| HSL | hsl(214, 49%, 38%) |
| HSV | hsv(214, 66%, 56%) |
| CMYK | cmyk(65.7%, 37.1%, 0%, 43.9%) |
| CIE-LAB | lab(37.75, 3.41, -33.57) |
| CIE-LCH | lch(37.75, 33.74, 275.81°) |
| OKLab | oklab(46.4% -0.0244 -0.0952) |
| OKLCH | oklch(46.4% 0.098 255.6) |
| XYZ | xyz(9.8789, 9.9475, 27.3807) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 1.53
Denim Blue
#3B5B92
ΔE00 1.95
Dusk Blue
#26538D
ΔE00 2.38
Denim (survey)
#3B638C
ΔE00 3.53
Dusky Blue
#475F94
ΔE00 4.22
Light Navy
#155084
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315A8F #8F6631
analogous
#31898F #315A8F #37318F
triadic
#315A8F #8F315A #5A8F31
tetradic
#315A8F #8F3189 #8F6631 #318F37
square
#315A8F #8F3189 #8F6631 #318F37
split-complementary
#315A8F #8F3731 #898F31
monochromatic
#122134 #213D61 #315A8F #4177BD #6D97CD
Accessibility & contrast
On white
7.02
#315A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#315A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315A8F
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315A8F | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435E91
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #315a8f; /* rgb */ color: rgb(49, 90, 143); /* oklch */ color: oklch(46.4% 0.098 255.6);
Tailwind
colors: {
custom: {
50: '#7388b0',
500: '#315a8f',
950: '#000000',
},
}SCSS
$custom: #315a8f; $custom-light: #7388b0; $custom-dark: #000000;
JSON
{
"hex": "#315a8f",
"rgb": {
"r": 49,
"g": 90,
"b": 143
},
"hsl": {
"h": 213.83,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.46401,
"c": 0.09833,
"h": 255.6
},
"luminance": 0.09948
}Semantic roles & 50–950 ramp
primary
#315A8F
secondary
#B59367
accent
#9D4FD9
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F