#2A2D9C#2A2D9C
#2A2D9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.175 H 273.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2D9C |
|---|---|
| RGB | rgb(42, 45, 156) |
| HSL | hsl(238, 58%, 39%) |
| HSV | hsv(238, 73%, 61%) |
| CMYK | cmyk(73.1%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.06, 36.82, -60.38) |
| CIE-LCH | lch(26.06, 70.72, 301.37°) |
| OKLab | oklab(37.8% 0.0094 -0.1746) |
| OKLCH | oklch(37.8% 0.175 273.1) |
| XYZ | xyz(7.8920, 4.7685, 31.9505) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.78
Royal
#0C1793
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.67
Blueberry
#464196
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2D9C #9C992A
analogous
#2A669C #2A2D9C #602A9C
triadic
#2A2D9C #9C2A2D #2D9C2A
tetradic
#2A2D9C #9C2A66 #9C992A #2A9C60
square
#2A2D9C #9C2A66 #9C992A #2A9C60
split-complementary
#2A2D9C #9C602A #669C2A
monochromatic
#10113C #1D1F6C #2A2D9C #393DCA #6A6CD7
Accessibility & contrast
On white
10.75
#2A2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2A2D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2D9C
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2D9C | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a2d9c; /* rgb */ color: rgb(42, 45, 156); /* oklch */ color: oklch(37.8% 0.175 273.1);
Tailwind
colors: {
custom: {
50: '#7567ba',
500: '#2a2d9c',
950: '#000000',
},
}SCSS
$custom: #2a2d9c; $custom-light: #7567ba; $custom-dark: #000000;
JSON
{
"hex": "#2a2d9c",
"rgb": {
"r": 42,
"g": 45,
"b": 156
},
"hsl": {
"h": 238.421,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.37798,
"c": 0.17486,
"h": 273.1
},
"luminance": 0.04769
}Semantic roles & 50–950 ramp
primary
#2A2D9C
secondary
#BDBB65
accent
#DD47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81