#2A2B9B#2A2B9B
#2A2B9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.176 H 273.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B9B |
|---|---|
| RGB | rgb(42, 43, 155) |
| HSL | hsl(239, 57%, 39%) |
| HSV | hsv(239, 73%, 61%) |
| CMYK | cmyk(72.9%, 72.3%, 0%, 39.2%) |
| CIE-LAB | lab(25.52, 37.69, -60.66) |
| CIE-LCH | lch(25.52, 71.42, 301.85°) |
| OKLab | oklab(37.38% 0.0107 -0.1754) |
| OKLCH | oklch(37.38% 0.176 273.5) |
| XYZ | xyz(7.7331, 4.5858, 31.4816) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Royal
#0C1793
ΔE00 4.92
Indigo Blue
#3A18B1
ΔE00 5.34
Cobalt Blue
#030AA7
ΔE00 6.33
Royal Blue (survey)
#0504AA
ΔE00 6.85
Blueberry
#464196
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B9B #9B9A2A
analogous
#2A639B #2A2B9B #612A9B
triadic
#2A2B9B #9B2A2B #2B9B2A
tetradic
#2A2B9B #9B2A63 #9B9A2A #2A9B61
square
#2A2B9B #9B2A63 #9B9A2A #2A9B61
split-complementary
#2A2B9B #9B612A #639B2A
monochromatic
#10103B #1D1E6B #2A2B9B #393AC9 #696AD6
Accessibility & contrast
On white
10.95
#2A2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2A2B9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B9B
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B9B | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a2b9b; /* rgb */ color: rgb(42, 43, 155); /* oklch */ color: oklch(37.4% 0.176 273.5);
Tailwind
colors: {
custom: {
50: '#7565ba',
500: '#2a2b9b',
950: '#000000',
},
}SCSS
$custom: #2a2b9b; $custom-light: #7565ba; $custom-dark: #000000;
JSON
{
"hex": "#2a2b9b",
"rgb": {
"r": 42,
"g": 43,
"b": 155
},
"hsl": {
"h": 239.469,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.37377,
"c": 0.17577,
"h": 273.5
},
"luminance": 0.04587
}Semantic roles & 50–950 ramp
primary
#2A2B9B
secondary
#BDBC64
accent
#DF47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81