#31449F#31449F
#31449F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.149 H 270.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #31449F |
|---|---|
| RGB | rgb(49, 68, 159) |
| HSL | hsl(230, 53%, 41%) |
| HSV | hsv(230, 69%, 62%) |
| CMYK | cmyk(69.2%, 57.2%, 0%, 37.6%) |
| CIE-LAB | lab(32.46, 23.90, -51.73) |
| CIE-LCH | lch(32.46, 56.99, 294.80°) |
| OKLab | oklab(42.69% 0 -0.1489) |
| OKLCH | oklch(42.69% 0.149 270) |
| XYZ | xyz(9.5896, 7.2895, 33.6958) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.02
Sapphire (survey)
#2138AB
ΔE00 4.23
Blueberry
#464196
ΔE00 4.25
Cobalt (survey)
#1E488F
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31449F #9F8C31
analogous
#317B9F #31449F #55319F
triadic
#31449F #9F3144 #449F31
tetradic
#31449F #9F317B #9F8C31 #319F55
square
#31449F #9F317B #9F8C31 #319F55
split-complementary
#31449F #9F5531 #7B9F31
monochromatic
#141C41 #233070 #31449F #475DC6 #7686D5
Accessibility & contrast
On white
8.54
#31449F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#31449F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31449F
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31449F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31449F | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #31449f; /* rgb */ color: rgb(49, 68, 159); /* oklch */ color: oklch(42.7% 0.149 270.0);
Tailwind
colors: {
custom: {
50: '#7777bc',
500: '#31449f',
950: '#000000',
},
}SCSS
$custom: #31449f; $custom-light: #7777bc; $custom-dark: #000000;
JSON
{
"hex": "#31449f",
"rgb": {
"r": 49,
"g": 68,
"b": 159
},
"hsl": {
"h": 229.636,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.42686,
"c": 0.14894,
"h": 270
},
"luminance": 0.0729
}Semantic roles & 50–950 ramp
primary
#31449F
secondary
#BDAF6F
accent
#C34CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81