#315499#315499
#315499 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.120 H 262.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #315499 |
|---|---|
| RGB | rgb(49, 84, 153) |
| HSL | hsl(220, 51%, 40%) |
| HSV | hsv(220, 68%, 60%) |
| CMYK | cmyk(68%, 45.1%, 0%, 40%) |
| CIE-LAB | lab(36.54, 11.02, -41.53) |
| CIE-LCH | lch(36.54, 42.97, 284.85°) |
| OKLab | oklab(45.66% -0.0158 -0.1187) |
| OKLCH | oklch(45.66% 0.12 262.4) |
| XYZ | xyz(10.1847, 9.2925, 31.3877) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.64
Denim Blue
#3B5B92
ΔE00 2.65
Cobalt (survey)
#1E488F
ΔE00 4.08
Light Navy Blue
#2E5A88
ΔE00 4.15
Sapphire
#0F52BA
ΔE00 4.34
Dusky Blue
#475F94
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315499 #997631
analogous
#318899 #315499 #423199
triadic
#315499 #993154 #549931
tetradic
#315499 #993188 #997631 #319942
square
#315499 #993188 #997631 #319942
split-complementary
#315499 #994231 #889931
monochromatic
#13213C #223B6B #315499 #446FC3 #7293D2
Accessibility & contrast
On white
7.35
#315499 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#315499 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315499
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315499 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335B9C
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #315499; /* rgb */ color: rgb(49, 84, 153); /* oklch */ color: oklch(45.7% 0.120 262.4);
Tailwind
colors: {
custom: {
50: '#7583b7',
500: '#315499',
950: '#000000',
},
}SCSS
$custom: #315499; $custom-light: #7583b7; $custom-dark: #000000;
JSON
{
"hex": "#315499",
"rgb": {
"r": 49,
"g": 84,
"b": 153
},
"hsl": {
"h": 219.808,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.45656,
"c": 0.11972,
"h": 262.4
},
"luminance": 0.09294
}Semantic roles & 50–950 ramp
primary
#315499
secondary
#BAA06C
accent
#AB4DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80