#2A2C90#2A2C90
#2A2C90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.160 H 274.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2C90 |
|---|---|
| RGB | rgb(42, 44, 144) |
| HSL | hsl(239, 55%, 36%) |
| HSV | hsv(239, 71%, 56%) |
| CMYK | cmyk(70.8%, 69.4%, 0%, 43.5%) |
| CIE-LAB | lab(24.66, 33.20, -55.31) |
| CIE-LCH | lch(24.66, 64.51, 300.97°) |
| OKLab | oklab(36.43% 0.0117 -0.1598) |
| OKLCH | oklch(36.43% 0.16 274.2) |
| XYZ | xyz(6.8879, 4.3066, 26.8484) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.00
Royal
#0C1793
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 6.42
Midnight Blue
#191970
ΔE00 6.50
Blueberry
#464196
ΔE00 6.58
Indigo Blue
#3A18B1
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2C90 #908E2A
analogous
#2A5F90 #2A2C90 #5B2A90
triadic
#2A2C90 #902A2C #2C902A
tetradic
#2A2C90 #902A5F #908E2A #2A905B
square
#2A2C90 #902A5F #908E2A #2A905B
split-complementary
#2A2C90 #905B2A #5F902A
monochromatic
#0E0F31 #1C1E61 #2A2C90 #383ABF #6365D1
Accessibility & contrast
On white
11.28
#2A2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2A2C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2C90
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2C90 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a2c90; /* rgb */ color: rgb(42, 44, 144); /* oklch */ color: oklch(36.4% 0.160 274.2);
Tailwind
colors: {
custom: {
50: '#7366b1',
500: '#2a2c90',
950: '#000000',
},
}SCSS
$custom: #2a2c90; $custom-light: #7366b1; $custom-dark: #000000;
JSON
{
"hex": "#2a2c90",
"rgb": {
"r": 42,
"g": 44,
"b": 144
},
"hsl": {
"h": 238.824,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.36429,
"c": 0.16023,
"h": 274.2
},
"luminance": 0.04307
}Semantic roles & 50–950 ramp
primary
#2A2C90
secondary
#B7B65E
accent
#DB4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80