#2A3E8A#2A3E8A
#2A3E8A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.129 H 268.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3E8A |
|---|---|
| RGB | rgb(42, 62, 138) |
| HSL | hsl(228, 53%, 35%) |
| HSV | hsv(228, 70%, 54%) |
| CMYK | cmyk(69.6%, 55.1%, 0%, 45.9%) |
| CIE-LAB | lab(28.83, 18.95, -44.80) |
| CIE-LCH | lch(28.83, 48.64, 292.93°) |
| OKLab | oklab(39.35% -0.0029 -0.1288) |
| OKLCH | oklch(39.35% 0.129 268.7) |
| XYZ | xyz(7.2633, 5.7718, 24.7711) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.49
Blueberry
#464196
ΔE00 5.11
Darkish Blue
#014182
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 5.62
Cobalt
#0047AB
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3E8A #8A762A
analogous
#2A6E8A #2A3E8A #462A8A
triadic
#2A3E8A #8A2A3E #3E8A2A
tetradic
#2A3E8A #8A2A6E #8A762A #2A8A46
square
#2A3E8A #8A2A6E #8A762A #2A8A46
split-complementary
#2A3E8A #8A462A #6E8A2A
monochromatic
#0D142C #1C295B #2A3E8A #3853B9 #6077CF
Accessibility & contrast
On white
9.75
#2A3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A3E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3E8A
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3E8A | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07498D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a3e8a; /* rgb */ color: rgb(42, 62, 138); /* oklch */ color: oklch(39.4% 0.129 268.7);
Tailwind
colors: {
custom: {
50: '#7072ad',
500: '#2a3e8a',
950: '#000000',
},
}SCSS
$custom: #2a3e8a; $custom-light: #7072ad; $custom-dark: #000000;
JSON
{
"hex": "#2a3e8a",
"rgb": {
"r": 42,
"g": 62,
"b": 138
},
"hsl": {
"h": 227.5,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.39352,
"c": 0.12882,
"h": 268.7
},
"luminance": 0.05772
}Semantic roles & 50–950 ramp
primary
#2A3E8A
secondary
#B4A25B
accent
#BE4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F