#2A2B7F#2A2B7F
#2A2B7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.138 H 275.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B7F |
|---|---|
| RGB | rgb(42, 43, 127) |
| HSL | hsl(239, 50%, 33%) |
| HSV | hsv(239, 67%, 50%) |
| CMYK | cmyk(66.9%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(22.83, 27.73, -47.68) |
| CIE-LCH | lch(22.83, 55.16, 300.18°) |
| OKLab | oklab(34.61% 0.0142 -0.1374) |
| OKLCH | oklch(34.61% 0.138 275.9) |
| XYZ | xyz(5.6482, 3.7518, 20.5011) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.08
Royal
#0C1793
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 6.38
Sapphire (survey)
#2138AB
ΔE00 7.19
Blueberry
#464196
ΔE00 7.25
Marine
#042E60
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B7F #7F7E2A
analogous
#2A557F #2A2B7F #532A7F
triadic
#2A2B7F #7F2A2B #2B7F2A
tetradic
#2A2B7F #7F2A55 #7F7E2A #2A7F53
square
#2A2B7F #7F2A55 #7F7E2A #2A7F53
split-complementary
#2A2B7F #7F532A #557F2A
monochromatic
#0C0C23 #1B1B51 #2A2B7F #393BAD #5B5CC9
Accessibility & contrast
On white
12.00
#2A2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2A2B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B7F
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B7F | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2a2b7f; /* rgb */ color: rgb(42, 43, 127); /* oklch */ color: oklch(34.6% 0.138 275.9);
Tailwind
colors: {
custom: {
50: '#6f64a5',
500: '#2a2b7f',
950: '#000000',
},
}SCSS
$custom: #2a2b7f; $custom-light: #6f64a5; $custom-dark: #000000;
JSON
{
"hex": "#2a2b7f",
"rgb": {
"r": 42,
"g": 43,
"b": 127
},
"hsl": {
"h": 239.294,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.34614,
"c": 0.13818,
"h": 275.9
},
"luminance": 0.03752
}Semantic roles & 50–950 ramp
primary
#2A2B7F
secondary
#AEAD57
accent
#D84EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F