#2E28A4#2E28A4
#2E28A4 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.189 H 274.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2E28A4 |
|---|---|
| RGB | rgb(46, 40, 164) |
| HSL | hsl(243, 61%, 40%) |
| HSV | hsv(243, 76%, 64%) |
| CMYK | cmyk(72%, 75.6%, 0%, 35.7%) |
| CIE-LAB | lab(26.09, 42.90, -65.19) |
| CIE-LCH | lch(26.09, 78.04, 303.35°) |
| OKLab | oklab(38.13% 0.0157 -0.1885) |
| OKLCH | oklch(38.13% 0.189 274.8) |
| XYZ | xyz(8.5841, 4.7779, 35.5846) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.73
Sapphire (survey)
#2138AB
ΔE00 4.78
Royal
#0C1793
ΔE00 4.91
Cobalt Blue
#030AA7
ΔE00 5.47
Ultramarine
#2000B1
ΔE00 5.75
True Blue
#010FCC
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E28A4 #9EA428
analogous
#2860A4 #2E28A4 #6C28A4
triadic
#2E28A4 #A42E28 #28A42E
tetradic
#2E28A4 #A42860 #9EA428 #28A46C
square
#2E28A4 #A42860 #9EA428 #28A46C
split-complementary
#2E28A4 #A46C28 #60A428
monochromatic
#121042 #201C73 #2E28A4 #413ACF #716BDB
Accessibility & contrast
On white
10.74
#2E28A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2E28A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E28A4
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E28A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E28A4 | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e28a4; /* rgb */ color: rgb(46, 40, 164); /* oklch */ color: oklch(38.1% 0.189 274.8);
Tailwind
colors: {
custom: {
50: '#7964c0',
500: '#2e28a4',
950: '#000000',
},
}SCSS
$custom: #2e28a4; $custom-light: #7964c0; $custom-dark: #000000;
JSON
{
"hex": "#2e28a4",
"rgb": {
"r": 46,
"g": 40,
"b": 164
},
"hsl": {
"h": 242.903,
"s": 60.784,
"l": 40
},
"oklch": {
"l": 0.38133,
"c": 0.18918,
"h": 274.8
},
"luminance": 0.04779
}Semantic roles & 50–950 ramp
primary
#2E28A4
secondary
#BDC166
accent
#E444DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81