#2A3D8B#2A3D8B
#2A3D8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.132 H 269.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3D8B |
|---|---|
| RGB | rgb(42, 61, 139) |
| HSL | hsl(228, 54%, 35%) |
| HSV | hsv(228, 70%, 55%) |
| CMYK | cmyk(69.8%, 56.1%, 0%, 45.5%) |
| CIE-LAB | lab(28.62, 20.02, -45.75) |
| CIE-LCH | lch(28.62, 49.94, 293.63°) |
| OKLab | oklab(39.22% -0.0019 -0.1316) |
| OKLCH | oklch(39.22% 0.132 269.2) |
| XYZ | xyz(7.2822, 5.6931, 25.1362) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.84
Blueberry
#464196
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 5.30
Darkish Blue
#014182
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.70
Cobalt
#0047AB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3D8B #8B782A
analogous
#2A6E8B #2A3D8B #472A8B
triadic
#2A3D8B #8B2A3D #3D8B2A
tetradic
#2A3D8B #8B2A6E #8B782A #2A8B47
square
#2A3D8B #8B2A6E #8B782A #2A8B47
split-complementary
#2A3D8B #8B472A #6E8B2A
monochromatic
#0E142D #1C285C #2A3D8B #3852BA #6076CF
Accessibility & contrast
On white
9.82
#2A3D8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A3D8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3D8B
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3D8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3D8B | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a3d8b; /* rgb */ color: rgb(42, 61, 139); /* oklch */ color: oklch(39.2% 0.132 269.2);
Tailwind
colors: {
custom: {
50: '#7072ad',
500: '#2a3d8b',
950: '#000000',
},
}SCSS
$custom: #2a3d8b; $custom-light: #7072ad; $custom-dark: #000000;
JSON
{
"hex": "#2a3d8b",
"rgb": {
"r": 42,
"g": 61,
"b": 139
},
"hsl": {
"h": 228.247,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.39222,
"c": 0.13161,
"h": 269.2
},
"luminance": 0.05694
}Semantic roles & 50–950 ramp
primary
#2A3D8B
secondary
#B5A35C
accent
#C04BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F