#2A2BA6#2A2BA6
#2A2BA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.190 H 272.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BA6 |
|---|---|
| RGB | rgb(42, 43, 166) |
| HSL | hsl(240, 60%, 41%) |
| HSV | hsv(240, 75%, 65%) |
| CMYK | cmyk(74.7%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(26.66, 41.47, -65.48) |
| CIE-LCH | lch(26.66, 77.51, 302.35°) |
| OKLab | oklab(38.53% 0.0089 -0.1895) |
| OKLCH | oklch(38.53% 0.19 272.7) |
| XYZ | xyz(8.6993, 4.9723, 36.5703) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 4.42
Royal
#0C1793
ΔE00 5.43
Cobalt Blue
#030AA7
ΔE00 6.06
True Blue
#010FCC
ΔE00 6.11
Ultramarine
#2000B1
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BA6 #A6A52A
analogous
#2A69A6 #2A2BA6 #672AA6
triadic
#2A2BA6 #A62A2B #2BA62A
tetradic
#2A2BA6 #A62A69 #A6A52A #2AA667
square
#2A2BA6 #A62A69 #A6A52A #2AA667
split-complementary
#2A2BA6 #A6672A #69A62A
monochromatic
#111244 #1E1E75 #2A2BA6 #3F40CE #7071DB
Accessibility & contrast
On white
10.53
#2A2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2A2BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BA6
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BA6 | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a2ba6; /* rgb */ color: rgb(42, 43, 166); /* oklch */ color: oklch(38.5% 0.190 272.7);
Tailwind
colors: {
custom: {
50: '#7866c2',
500: '#2a2ba6',
950: '#000000',
},
}SCSS
$custom: #2a2ba6; $custom-light: #7866c2; $custom-dark: #000000;
JSON
{
"hex": "#2a2ba6",
"rgb": {
"r": 42,
"g": 43,
"b": 166
},
"hsl": {
"h": 239.516,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.38528,
"c": 0.18969,
"h": 272.7
},
"luminance": 0.04973
}Semantic roles & 50–950 ramp
primary
#2A2BA6
secondary
#C2C16A
accent
#E245E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81