#315A8A#315A8A
#315A8A is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.091 H 253.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #315A8A |
|---|---|
| RGB | rgb(49, 90, 138) |
| HSL | hsl(212, 48%, 37%) |
| HSV | hsv(212, 64%, 54%) |
| CMYK | cmyk(64.5%, 34.8%, 0%, 45.9%) |
| CIE-LAB | lab(37.48, 1.59, -30.96) |
| CIE-LCH | lch(37.48, 31.00, 272.95°) |
| OKLab | oklab(46.1% -0.0258 -0.0876) |
| OKLCH | oklch(46.1% 0.091 253.6) |
| XYZ | xyz(9.5086, 9.7994, 25.4302) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 0.81
Denim Blue
#3B5B92
ΔE00 2.50
Dusk Blue
#26538D
ΔE00 2.51
Denim (survey)
#3B638C
ΔE00 3.29
Light Navy
#155084
ΔE00 3.97
Dusky Blue
#475F94
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315A8A #8A6131
analogous
#31878A #315A8A #35318A
triadic
#315A8A #8A315A #5A8A31
tetradic
#315A8A #8A3187 #8A6131 #318A35
square
#315A8A #8A3187 #8A6131 #318A35
split-complementary
#315A8A #8A3531 #878A31
monochromatic
#111F30 #213D5D #315A8A #4177B7 #6B97CA
Accessibility & contrast
On white
7.09
#315A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#315A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315A8A
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315A8A | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#395489
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #315a8a; /* rgb */ color: rgb(49, 90, 138); /* oklch */ color: oklch(46.1% 0.091 253.6);
Tailwind
colors: {
custom: {
50: '#7288ac',
500: '#315a8a',
950: '#000000',
},
}SCSS
$custom: #315a8a; $custom-light: #7288ac; $custom-dark: #000000;
JSON
{
"hex": "#315a8a",
"rgb": {
"r": 49,
"g": 90,
"b": 138
},
"hsl": {
"h": 212.36,
"s": 47.594,
"l": 36.667
},
"oklch": {
"l": 0.46104,
"c": 0.09135,
"h": 253.6
},
"luminance": 0.098
}Semantic roles & 50–950 ramp
primary
#315A8A
secondary
#B28E65
accent
#9951D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F