#31439C#31439C
#31439C is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.146 H 270.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #31439C |
|---|---|
| RGB | rgb(49, 67, 156) |
| HSL | hsl(230, 52%, 40%) |
| HSV | hsv(230, 69%, 61%) |
| CMYK | cmyk(68.6%, 57.1%, 0%, 38.8%) |
| CIE-LAB | lab(31.96, 23.46, -50.73) |
| CIE-LCH | lch(31.96, 55.89, 294.82°) |
| OKLab | oklab(42.24% 0.0008 -0.146) |
| OKLCH | oklch(42.24% 0.146 270.3) |
| XYZ | xyz(9.2725, 7.0667, 32.3214) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.31
Cobalt (survey)
#1E488F
ΔE00 4.74
Darkslateblue
#483D8B
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31439C #9C8A31
analogous
#31789C #31439C #55319C
triadic
#31439C #9C3143 #439C31
tetradic
#31439C #9C3178 #9C8A31 #319C55
square
#31439C #9C3178 #9C8A31 #319C55
split-complementary
#31439C #9C5531 #789C31
monochromatic
#141B3F #222F6D #31439C #455BC5 #7484D3
Accessibility & contrast
On white
8.70
#31439C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#31439C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31439C
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31439C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31439C | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #31439c; /* rgb */ color: rgb(49, 67, 156); /* oklch */ color: oklch(42.2% 0.146 270.3);
Tailwind
colors: {
custom: {
50: '#7676ba',
500: '#31439c',
950: '#000000',
},
}SCSS
$custom: #31439c; $custom-light: #7676ba; $custom-dark: #000000;
JSON
{
"hex": "#31439c",
"rgb": {
"r": 49,
"g": 67,
"b": 156
},
"hsl": {
"h": 229.907,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.4224,
"c": 0.14599,
"h": 270.3
},
"luminance": 0.07068
}Semantic roles & 50–950 ramp
primary
#31439C
secondary
#BBAE6D
accent
#C34CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81