#313451#313451
#313451 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.6% C 0.051 H 278.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #313451 |
|---|---|
| RGB | rgb(49, 52, 81) |
| HSL | hsl(234, 25%, 25%) |
| HSV | hsv(234, 40%, 32%) |
| CMYK | cmyk(39.5%, 35.8%, 0%, 68.2%) |
| CIE-LAB | lab(22.66, 6.96, -18.10) |
| CIE-LCH | lch(22.66, 19.39, 291.05°) |
| OKLab | oklab(33.59% 0.0078 -0.0505) |
| OKLCH | oklch(33.59% 0.051 278.7) |
| XYZ | xyz(3.9794, 3.7029, 8.2880) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.27
Marine
#042E60
ΔE00 9.21
Dark
#1B2431
ΔE00 10.22
Marine Blue
#01386A
ΔE00 10.61
Navy (survey)
#01153E
ΔE00 11.01
Dusk
#4E5481
ΔE00 11.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313451 #514E31
analogous
#314451 #313451 #3E3151
triadic
#313451 #513134 #345131
tetradic
#313451 #513144 #514E31 #31513E
square
#313451 #513144 #514E31 #31513E
split-complementary
#313451 #513E31 #445131
monochromatic
#0C0C13 #1A1C2B #313451 #484C77 #5F659D
Accessibility & contrast
On white
12.06
#313451 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#313451 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313451
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313451 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3752
Deuteranopia (green-blind)
#293550
Tritanopia (blue-blind)
#283A3E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #313451; /* rgb */ color: rgb(49, 52, 81); /* oklch */ color: oklch(33.6% 0.051 278.7);
Tailwind
colors: {
custom: {
50: '#6a6b82',
500: '#313451',
950: '#000000',
},
}SCSS
$custom: #313451; $custom-light: #6a6b82; $custom-dark: #000000;
JSON
{
"hex": "#313451",
"rgb": {
"r": 49,
"g": 52,
"b": 81
},
"hsl": {
"h": 234.375,
"s": 24.615,
"l": 25.49
},
"oklch": {
"l": 0.3359,
"c": 0.05112,
"h": 278.7
},
"luminance": 0.03703
}Semantic roles & 50–950 ramp
primary
#313451
secondary
#827E5C
accent
#B967C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C