#2A389C#2A389C
#2A389C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.162 H 270.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A389C |
|---|---|
| RGB | rgb(42, 56, 156) |
| HSL | hsl(233, 58%, 39%) |
| HSV | hsv(233, 73%, 61%) |
| CMYK | cmyk(73.1%, 64.1%, 0%, 38.8%) |
| CIE-LAB | lab(28.69, 29.78, -56.06) |
| CIE-LCH | lch(28.69, 63.48, 297.98°) |
| OKLab | oklab(39.71% 0.0023 -0.1619) |
| OKLCH | oklch(39.71% 0.162 270.8) |
| XYZ | xyz(8.3677, 5.7200, 32.1091) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.17
Blueberry
#464196
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 6.31
Cobalt
#0047AB
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A389C #9C8E2A
analogous
#2A719C #2A389C #552A9C
triadic
#2A389C #9C2A38 #389C2A
tetradic
#2A389C #9C2A71 #9C8E2A #2A9C55
square
#2A389C #9C2A71 #9C8E2A #2A9C55
split-complementary
#2A389C #9C552A #719C2A
monochromatic
#10153C #1D276C #2A389C #394BCA #6A77D7
Accessibility & contrast
On white
9.79
#2A389C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A389C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A389C
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A389C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A389C | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a389c; /* rgb */ color: rgb(42, 56, 156); /* oklch */ color: oklch(39.7% 0.162 270.8);
Tailwind
colors: {
custom: {
50: '#746eba',
500: '#2a389c',
950: '#000000',
},
}SCSS
$custom: #2a389c; $custom-light: #746eba; $custom-dark: #000000;
JSON
{
"hex": "#2a389c",
"rgb": {
"r": 42,
"g": 56,
"b": 156
},
"hsl": {
"h": 232.632,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.39712,
"c": 0.16197,
"h": 270.8
},
"luminance": 0.05721
}Semantic roles & 50–950 ramp
primary
#2A389C
secondary
#BDB265
accent
#CE47E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81