#2A389B#2A389B
#2A389B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.161 H 270.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A389B |
|---|---|
| RGB | rgb(42, 56, 155) |
| HSL | hsl(233, 57%, 39%) |
| HSV | hsv(233, 73%, 61%) |
| CMYK | cmyk(72.9%, 63.9%, 0%, 39.2%) |
| CIE-LAB | lab(28.61, 29.41, -55.60) |
| CIE-LCH | lch(28.61, 62.90, 297.88°) |
| OKLab | oklab(39.62% 0.0023 -0.1606) |
| OKLCH | oklch(39.62% 0.161 270.8) |
| XYZ | xyz(8.2834, 5.6863, 31.6650) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.31
Blueberry
#464196
ΔE00 4.62
Darkslateblue
#483D8B
ΔE00 5.73
Cobalt
#0047AB
ΔE00 6.36
Blue Blue
#2242C7
ΔE00 6.44
Ocean Blue
#4F42B5
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A389B #9B8D2A
analogous
#2A709B #2A389B #542A9B
triadic
#2A389B #9B2A38 #389B2A
tetradic
#2A389B #9B2A70 #9B8D2A #2A9B54
square
#2A389B #9B2A70 #9B8D2A #2A9B54
split-complementary
#2A389B #9B542A #709B2A
monochromatic
#10153B #1D276B #2A389B #394BC9 #6977D6
Accessibility & contrast
On white
9.83
#2A389B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A389B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A389B
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A389B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A389B | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a389b; /* rgb */ color: rgb(42, 56, 155); /* oklch */ color: oklch(39.6% 0.161 270.8);
Tailwind
colors: {
custom: {
50: '#746eb9',
500: '#2a389b',
950: '#000000',
},
}SCSS
$custom: #2a389b; $custom-light: #746eb9; $custom-dark: #000000;
JSON
{
"hex": "#2a389b",
"rgb": {
"r": 42,
"g": 56,
"b": 155
},
"hsl": {
"h": 232.566,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.3962,
"c": 0.1606,
"h": 270.8
},
"luminance": 0.05687
}Semantic roles & 50–950 ramp
primary
#2A389B
secondary
#BDB264
accent
#CE47E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81