#31459C#31459C
#31459C is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.143 H 269.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #31459C |
|---|---|
| RGB | rgb(49, 69, 156) |
| HSL | hsl(229, 52%, 40%) |
| HSV | hsv(229, 69%, 61%) |
| CMYK | cmyk(68.6%, 55.8%, 0%, 38.8%) |
| CIE-LAB | lab(32.50, 22.12, -49.85) |
| CIE-LCH | lch(32.50, 54.54, 293.93°) |
| OKLab | oklab(42.65% -0.001 -0.1434) |
| OKLCH | oklch(42.65% 0.143 269.6) |
| XYZ | xyz(9.3934, 7.3086, 32.3617) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.97
Cobalt (survey)
#1E488F
ΔE00 4.25
Blueberry
#464196
ΔE00 4.41
Sapphire (survey)
#2138AB
ΔE00 4.79
Blue Blue
#2242C7
ΔE00 6.04
Darkslateblue
#483D8B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31459C #9C8831
analogous
#317A9C #31459C #52319C
triadic
#31459C #9C3145 #459C31
tetradic
#31459C #9C317A #9C8831 #319C52
square
#31459C #9C317A #9C8831 #319C52
split-complementary
#31459C #9C5231 #7A9C31
monochromatic
#141C3F #22306D #31459C #455DC5 #7486D3
Accessibility & contrast
On white
8.53
#31459C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#31459C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31459C
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31459C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31459C | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #31459c; /* rgb */ color: rgb(49, 69, 156); /* oklch */ color: oklch(42.6% 0.143 269.6);
Tailwind
colors: {
custom: {
50: '#7678ba',
500: '#31459c',
950: '#000000',
},
}SCSS
$custom: #31459c; $custom-light: #7678ba; $custom-dark: #000000;
JSON
{
"hex": "#31459c",
"rgb": {
"r": 49,
"g": 69,
"b": 156
},
"hsl": {
"h": 228.785,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.42646,
"c": 0.14339,
"h": 269.6
},
"luminance": 0.0731
}Semantic roles & 50–950 ramp
primary
#31459C
secondary
#BBAD6D
accent
#C14CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81