#2A388F#2A388F
#2A388F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.144 H 271.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A388F |
|---|---|
| RGB | rgb(42, 56, 143) |
| HSL | hsl(232, 55%, 36%) |
| HSV | hsv(232, 71%, 56%) |
| CMYK | cmyk(70.6%, 60.8%, 0%, 43.9%) |
| CIE-LAB | lab(27.58, 24.93, -49.92) |
| CIE-LCH | lch(27.58, 55.80, 296.54°) |
| OKLab | oklab(38.54% 0.0026 -0.1439) |
| OKLCH | oklch(38.54% 0.144 271) |
| XYZ | xyz(7.3253, 5.3031, 26.6188) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Blueberry
#464196
ΔE00 4.67
Darkslateblue
#483D8B
ΔE00 5.26
Cobalt (survey)
#1E488F
ΔE00 6.61
Cobalt
#0047AB
ΔE00 6.83
Darkish Blue
#014182
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A388F #8F812A
analogous
#2A6B8F #2A388F #4F2A8F
triadic
#2A388F #8F2A38 #388F2A
tetradic
#2A388F #8F2A6B #8F812A #2A8F4F
square
#2A388F #8F2A6B #8F812A #2A8F4F
split-complementary
#2A388F #8F4F2A #6B8F2A
monochromatic
#0E1330 #1C2560 #2A388F #384BBE #6272D1
Accessibility & contrast
On white
10.19
#2A388F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2A388F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A388F
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A388F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A388F | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a388f; /* rgb */ color: rgb(42, 56, 143); /* oklch */ color: oklch(38.5% 0.144 271.0);
Tailwind
colors: {
custom: {
50: '#716eb1',
500: '#2a388f',
950: '#000000',
},
}SCSS
$custom: #2a388f; $custom-light: #716eb1; $custom-dark: #000000;
JSON
{
"hex": "#2a388f",
"rgb": {
"r": 42,
"g": 56,
"b": 143
},
"hsl": {
"h": 231.683,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.38543,
"c": 0.14393,
"h": 271
},
"luminance": 0.05304
}Semantic roles & 50–950 ramp
primary
#2A388F
secondary
#B7AB5E
accent
#C94ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80