#315399#315399
#315399 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.121 H 263.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #315399 |
|---|---|
| RGB | rgb(49, 83, 153) |
| HSL | hsl(220, 51%, 40%) |
| HSV | hsv(220, 68%, 60%) |
| CMYK | cmyk(68%, 45.8%, 0%, 40%) |
| CIE-LAB | lab(36.25, 11.67, -42.00) |
| CIE-LCH | lch(36.25, 43.59, 285.53°) |
| OKLab | oklab(45.43% -0.0148 -0.1201) |
| OKLCH | oklch(45.43% 0.121 263) |
| XYZ | xyz(10.1076, 9.1384, 31.3620) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.79
Denim Blue
#3B5B92
ΔE00 2.95
Cobalt (survey)
#1E488F
ΔE00 3.82
Sapphire
#0F52BA
ΔE00 4.36
Light Navy Blue
#2E5A88
ΔE00 4.43
Dusky Blue
#475F94
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315399 #997731
analogous
#318799 #315399 #433199
triadic
#315399 #993153 #539931
tetradic
#315399 #993187 #997731 #319943
square
#315399 #993187 #997731 #319943
split-complementary
#315399 #994331 #879931
monochromatic
#13213C #223A6B #315399 #446EC3 #7292D2
Accessibility & contrast
On white
7.43
#315399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#315399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315399
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315399 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315A9C
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #315399; /* rgb */ color: rgb(49, 83, 153); /* oklch */ color: oklch(45.4% 0.121 263.0);
Tailwind
colors: {
custom: {
50: '#7582b7',
500: '#315399',
950: '#000000',
},
}SCSS
$custom: #315399; $custom-light: #7582b7; $custom-dark: #000000;
JSON
{
"hex": "#315399",
"rgb": {
"r": 49,
"g": 83,
"b": 153
},
"hsl": {
"h": 220.385,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.45431,
"c": 0.12097,
"h": 263
},
"luminance": 0.09139
}Semantic roles & 50–950 ramp
primary
#315399
secondary
#BAA06C
accent
#AC4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80