#2A358C#2A358C
#2A358C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.144 H 272.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2A358C |
|---|---|
| RGB | rgb(42, 53, 140) |
| HSL | hsl(233, 54%, 36%) |
| HSV | hsv(233, 70%, 55%) |
| CMYK | cmyk(70%, 62.1%, 0%, 45.1%) |
| CIE-LAB | lab(26.54, 25.83, -49.76) |
| CIE-LCH | lch(26.54, 56.07, 297.43°) |
| OKLab | oklab(37.69% 0.0051 -0.1435) |
| OKLCH | oklch(37.69% 0.144 272) |
| XYZ | xyz(6.9600, 4.9312, 25.3909) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Blueberry
#464196
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.25
Cobalt (survey)
#1E488F
ΔE00 7.52
Cobalt
#0047AB
ΔE00 7.77
Darkish Blue
#014182
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A358C #8C812A
analogous
#2A668C #2A358C #502A8C
triadic
#2A358C #8C2A35 #358C2A
tetradic
#2A358C #8C2A66 #8C812A #2A8C50
square
#2A358C #8C2A66 #8C812A #2A8C50
split-complementary
#2A358C #8C502A #668C2A
monochromatic
#0E112E #1C235D #2A358C #3847BB #616DD0
Accessibility & contrast
On white
10.57
#2A358C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2A358C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A358C
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A358C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A358C | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a358c; /* rgb */ color: rgb(42, 53, 140); /* oklch */ color: oklch(37.7% 0.144 272.0);
Tailwind
colors: {
custom: {
50: '#716cae',
500: '#2a358c',
950: '#000000',
},
}SCSS
$custom: #2a358c; $custom-light: #716cae; $custom-dark: #000000;
JSON
{
"hex": "#2a358c",
"rgb": {
"r": 42,
"g": 53,
"b": 140
},
"hsl": {
"h": 233.265,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.37691,
"c": 0.14358,
"h": 272
},
"luminance": 0.04932
}Semantic roles & 50–950 ramp
primary
#2A358C
secondary
#B5AB5C
accent
#CD4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F