#2A2E92#2A2E92
#2A2E92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.161 H 273.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E92 |
|---|---|
| RGB | rgb(42, 46, 146) |
| HSL | hsl(238, 55%, 37%) |
| HSV | hsv(238, 71%, 57%) |
| CMYK | cmyk(71.2%, 68.5%, 0%, 42.7%) |
| CIE-LAB | lab(25.32, 32.64, -55.46) |
| CIE-LCH | lch(25.32, 64.35, 300.48°) |
| OKLab | oklab(36.97% 0.0101 -0.1602) |
| OKLCH | oklch(36.97% 0.161 273.6) |
| XYZ | xyz(7.1184, 4.5209, 27.6860) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Royal
#0C1793
ΔE00 5.72
Blueberry
#464196
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.17
Indigo Blue
#3A18B1
ΔE00 6.97
Midnight Blue
#191970
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E92 #928E2A
analogous
#2A6292 #2A2E92 #5A2A92
triadic
#2A2E92 #922A2E #2E922A
tetradic
#2A2E92 #922A62 #928E2A #2A925A
square
#2A2E92 #922A62 #928E2A #2A925A
split-complementary
#2A2E92 #925A2A #62922A
monochromatic
#0F1033 #1C1F62 #2A2E92 #383DC2 #6468D2
Accessibility & contrast
On white
11.03
#2A2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2A2E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E92
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E92 | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a2e92; /* rgb */ color: rgb(42, 46, 146); /* oklch */ color: oklch(37.0% 0.161 273.6);
Tailwind
colors: {
custom: {
50: '#7367b3',
500: '#2a2e92',
950: '#000000',
},
}SCSS
$custom: #2a2e92; $custom-light: #7367b3; $custom-dark: #000000;
JSON
{
"hex": "#2a2e92",
"rgb": {
"r": 42,
"g": 46,
"b": 146
},
"hsl": {
"h": 237.692,
"s": 55.319,
"l": 36.863
},
"oklch": {
"l": 0.36968,
"c": 0.16055,
"h": 273.6
},
"luminance": 0.04522
}Semantic roles & 50–950 ramp
primary
#2A2E92
secondary
#B8B55F
accent
#D949DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80