#2A259F#2A259F
#2A259F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.187 H 274.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2A259F |
|---|---|
| RGB | rgb(42, 37, 159) |
| HSL | hsl(242, 62%, 38%) |
| HSV | hsv(242, 77%, 62%) |
| CMYK | cmyk(73.6%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(24.70, 42.54, -64.47) |
| CIE-LCH | lch(24.70, 77.24, 303.42°) |
| OKLab | oklab(36.92% 0.0132 -0.1865) |
| OKLCH | oklch(36.92% 0.187 274) |
| XYZ | xyz(7.8723, 4.3178, 33.2127) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.89
Royal
#0C1793
ΔE00 3.91
Cobalt Blue
#030AA7
ΔE00 4.81
Royal Blue (survey)
#0504AA
ΔE00 5.29
Ultramarine
#2000B1
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A259F #9A9F25
analogous
#255D9F #2A259F #67259F
triadic
#2A259F #9F2A25 #259F2A
tetradic
#2A259F #9F255D #9A9F25 #259F67
square
#2A259F #9F255D #9A9F25 #259F67
split-complementary
#2A259F #9F6725 #5D9F25
monochromatic
#100E3C #1D196D #2A259F #3832CF #6864DB
Accessibility & contrast
On white
11.27
#2A259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2A259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A259F
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A259F | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a259f; /* rgb */ color: rgb(42, 37, 159); /* oklch */ color: oklch(36.9% 0.187 274.0);
Tailwind
colors: {
custom: {
50: '#7762bd',
500: '#2a259f',
950: '#000000',
},
}SCSS
$custom: #2a259f; $custom-light: #7762bd; $custom-dark: #000000;
JSON
{
"hex": "#2a259f",
"rgb": {
"r": 42,
"g": 37,
"b": 159
},
"hsl": {
"h": 242.459,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.36916,
"c": 0.18694,
"h": 274
},
"luminance": 0.04319
}Semantic roles & 50–950 ramp
primary
#2A259F
secondary
#BCC05F
accent
#E542DF
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981