#2A2F85#2A2F85
#2A2F85 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.141 H 274.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2F85 |
|---|---|
| RGB | rgb(42, 47, 133) |
| HSL | hsl(237, 52%, 34%) |
| HSV | hsv(237, 68%, 52%) |
| CMYK | cmyk(68.4%, 64.7%, 0%, 47.8%) |
| CIE-LAB | lab(24.38, 27.26, -48.92) |
| CIE-LCH | lch(24.38, 56.01, 299.13°) |
| OKLab | oklab(35.91% 0.0104 -0.1411) |
| OKLCH | oklch(35.91% 0.141 274.2) |
| XYZ | xyz(6.2036, 4.2182, 22.6730) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.73
Sapphire (survey)
#2138AB
ΔE00 5.94
Blueberry
#464196
ΔE00 6.22
Midnight Blue
#191970
ΔE00 6.35
Royal
#0C1793
ΔE00 6.79
Marine
#042E60
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2F85 #85802A
analogous
#2A5D85 #2A2F85 #532A85
triadic
#2A2F85 #852A2F #2F852A
tetradic
#2A2F85 #852A5D #85802A #2A8553
square
#2A2F85 #852A5D #85802A #2A8553
split-complementary
#2A2F85 #85532A #5D852A
monochromatic
#0D0E28 #1B1F56 #2A2F85 #393FB4 #5D63CC
Accessibility & contrast
On white
11.39
#2A2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2A2F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2F85
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2F85 | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a2f85; /* rgb */ color: rgb(42, 47, 133); /* oklch */ color: oklch(35.9% 0.141 274.2);
Tailwind
colors: {
custom: {
50: '#7067a9',
500: '#2a2f85',
950: '#000000',
},
}SCSS
$custom: #2a2f85; $custom-light: #7067a9; $custom-dark: #000000;
JSON
{
"hex": "#2a2f85",
"rgb": {
"r": 42,
"g": 47,
"b": 133
},
"hsl": {
"h": 236.703,
"s": 52,
"l": 34.314
},
"oklch": {
"l": 0.35912,
"c": 0.14146,
"h": 274.2
},
"luminance": 0.04219
}Semantic roles & 50–950 ramp
primary
#2A2F85
secondary
#B2AD59
accent
#D44CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F