#2A388E#2A388E
#2A388E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.143 H 271.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2A388E |
|---|---|
| RGB | rgb(42, 56, 142) |
| HSL | hsl(232, 54%, 36%) |
| HSV | hsv(232, 70%, 56%) |
| CMYK | cmyk(70.4%, 60.6%, 0%, 44.3%) |
| CIE-LAB | lab(27.50, 24.55, -49.43) |
| CIE-LCH | lch(27.50, 55.20, 296.41°) |
| OKLab | oklab(38.46% 0.0026 -0.1425) |
| OKLCH | oklch(38.46% 0.143 271) |
| XYZ | xyz(7.2498, 5.2729, 26.2216) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Blueberry
#464196
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 5.25
Cobalt (survey)
#1E488F
ΔE00 6.58
Cobalt
#0047AB
ΔE00 6.88
Darkish Blue
#014182
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A388E #8E802A
analogous
#2A6A8E #2A388E #4E2A8E
triadic
#2A388E #8E2A38 #388E2A
tetradic
#2A388E #8E2A6A #8E802A #2A8E4E
square
#2A388E #8E2A6A #8E802A #2A8E4E
split-complementary
#2A388E #8E4E2A #6A8E2A
monochromatic
#0E1330 #1C255F #2A388E #384BBD #6271D1
Accessibility & contrast
On white
10.22
#2A388E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2A388E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A388E
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A388E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A388E | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a388e; /* rgb */ color: rgb(42, 56, 142); /* oklch */ color: oklch(38.5% 0.143 271.0);
Tailwind
colors: {
custom: {
50: '#716eb0',
500: '#2a388e',
950: '#000000',
},
}SCSS
$custom: #2a388e; $custom-light: #716eb0; $custom-dark: #000000;
JSON
{
"hex": "#2a388e",
"rgb": {
"r": 42,
"g": 56,
"b": 142
},
"hsl": {
"h": 231.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.38455,
"c": 0.14251,
"h": 271
},
"luminance": 0.05274
}Semantic roles & 50–950 ramp
primary
#2A388E
secondary
#B6AA5D
accent
#C94ADE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F