#315299#315299
#315299 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.122 H 263.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #315299 |
|---|---|
| RGB | rgb(49, 82, 153) |
| HSL | hsl(221, 51%, 40%) |
| HSV | hsv(221, 68%, 60%) |
| CMYK | cmyk(68%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(35.96, 12.33, -42.46) |
| CIE-LCH | lch(35.96, 44.22, 286.20°) |
| OKLab | oklab(45.21% -0.0138 -0.1214) |
| OKLCH | oklch(45.21% 0.122 263.5) |
| XYZ | xyz(10.0317, 8.9865, 31.3367) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.98
Denim Blue
#3B5B92
ΔE00 3.26
Cobalt (survey)
#1E488F
ΔE00 3.60
Sapphire
#0F52BA
ΔE00 4.39
Cobalt
#0047AB
ΔE00 4.66
Light Navy Blue
#2E5A88
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315299 #997831
analogous
#318699 #315299 #443199
triadic
#315299 #993152 #529931
tetradic
#315299 #993186 #997831 #319944
square
#315299 #993186 #997831 #319944
split-complementary
#315299 #994431 #869931
monochromatic
#13203C #22396B #315299 #446CC3 #7291D2
Accessibility & contrast
On white
7.51
#315299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#315299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315299
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315299 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #315299; /* rgb */ color: rgb(49, 82, 153); /* oklch */ color: oklch(45.2% 0.122 263.5);
Tailwind
colors: {
custom: {
50: '#7582b7',
500: '#315299',
950: '#000000',
},
}SCSS
$custom: #315299; $custom-light: #7582b7; $custom-dark: #000000;
JSON
{
"hex": "#315299",
"rgb": {
"r": 49,
"g": 82,
"b": 153
},
"hsl": {
"h": 220.962,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.45208,
"c": 0.12223,
"h": 263.5
},
"luminance": 0.08987
}Semantic roles & 50–950 ramp
primary
#315299
secondary
#BAA16C
accent
#AE4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80