#2A3B8D#2A3B8D
#2A3B8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.137 H 270.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3B8D |
|---|---|
| RGB | rgb(42, 59, 141) |
| HSL | hsl(230, 54%, 36%) |
| HSV | hsv(230, 70%, 55%) |
| CMYK | cmyk(70.2%, 58.2%, 0%, 44.7%) |
| CIE-LAB | lab(28.23, 22.14, -47.63) |
| CIE-LCH | lch(28.23, 52.52, 294.93°) |
| OKLab | oklab(38.97% 0 -0.1372) |
| OKLCH | oklch(38.97% 0.137 270) |
| XYZ | xyz(7.3249, 5.5426, 25.8779) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 5.42
Cobalt (survey)
#1E488F
ΔE00 5.56
Cobalt
#0047AB
ΔE00 6.23
Darkish Blue
#014182
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3B8D #8D7C2A
analogous
#2A6C8D #2A3B8D #4A2A8D
triadic
#2A3B8D #8D2A3B #3B8D2A
tetradic
#2A3B8D #8D2A6C #8D7C2A #2A8D4A
square
#2A3B8D #8D2A6C #8D7C2A #2A8D4A
split-complementary
#2A3B8D #8D4A2A #6C8D2A
monochromatic
#0E142F #1C275E #2A3B8D #384FBC #6174D0
Accessibility & contrast
On white
9.96
#2A3B8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2A3B8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3B8D
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3B8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3B8D | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a3b8d; /* rgb */ color: rgb(42, 59, 141); /* oklch */ color: oklch(39.0% 0.137 270.0);
Tailwind
colors: {
custom: {
50: '#7170af',
500: '#2a3b8d',
950: '#000000',
},
}SCSS
$custom: #2a3b8d; $custom-light: #7170af; $custom-dark: #000000;
JSON
{
"hex": "#2a3b8d",
"rgb": {
"r": 42,
"g": 59,
"b": 141
},
"hsl": {
"h": 229.697,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.38974,
"c": 0.13716,
"h": 270
},
"luminance": 0.05543
}Semantic roles & 50–950 ramp
primary
#2A3B8D
secondary
#B6A75D
accent
#C44ADD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F