#2A258F#2A258F
#2A258F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.167 H 275.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A258F |
|---|---|
| RGB | rgb(42, 37, 143) |
| HSL | hsl(243, 59%, 35%) |
| HSV | hsv(243, 74%, 56%) |
| CMYK | cmyk(70.6%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(22.99, 37.16, -57.44) |
| CIE-LCH | lch(22.99, 68.41, 302.90°) |
| OKLab | oklab(35.2% 0.0164 -0.166) |
| OKLCH | oklch(35.2% 0.167 275.6) |
| XYZ | xyz(6.5727, 3.7979, 26.3680) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.63
Midnight Blue
#191970
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 5.79
Cobalt Blue
#030AA7
ΔE00 5.81
Royal Blue (survey)
#0504AA
ΔE00 6.37
Sapphire (survey)
#2138AB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A258F #8A8F25
analogous
#25558F #2A258F #5F258F
triadic
#2A258F #8F2A25 #258F2A
tetradic
#2A258F #8F2555 #8A8F25 #258F5F
square
#2A258F #8F2555 #8A8F25 #258F5F
split-complementary
#2A258F #8F5F25 #558F25
monochromatic
#0D0C2E #1C185E #2A258F #3832C0 #605AD4
Accessibility & contrast
On white
11.93
#2A258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2A258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A258F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A258F | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2a258f; /* rgb */ color: rgb(42, 37, 143); /* oklch */ color: oklch(35.2% 0.167 275.6);
Tailwind
colors: {
custom: {
50: '#7361b1',
500: '#2a258f',
950: '#000000',
},
}SCSS
$custom: #2a258f; $custom-light: #7361b1; $custom-dark: #000000;
JSON
{
"hex": "#2a258f",
"rgb": {
"r": 42,
"g": 37,
"b": 143
},
"hsl": {
"h": 242.83,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.35201,
"c": 0.16681,
"h": 275.6
},
"luminance": 0.03799
}Semantic roles & 50–950 ramp
primary
#2A258F
secondary
#B4B957
accent
#E246DB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980