#2A3F96#2A3F96
#2A3F96 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.145 H 268.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3F96 |
|---|---|
| RGB | rgb(42, 63, 150) |
| HSL | hsl(228, 56%, 38%) |
| HSV | hsv(228, 72%, 59%) |
| CMYK | cmyk(72%, 58%, 0%, 41.2%) |
| CIE-LAB | lab(30.03, 22.84, -50.23) |
| CIE-LCH | lch(30.03, 55.18, 294.46°) |
| OKLab | oklab(40.55% -0.0031 -0.1447) |
| OKLCH | oklch(40.55% 0.145 268.8) |
| XYZ | xyz(8.2355, 6.2484, 29.6203) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.03
Blueberry
#464196
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 4.66
Cobalt
#0047AB
ΔE00 4.70
Darkslateblue
#483D8B
ΔE00 5.96
Darkish Blue
#014182
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3F96 #96812A
analogous
#2A7596 #2A3F96 #4B2A96
triadic
#2A3F96 #962A3F #3F962A
tetradic
#2A3F96 #962A75 #96812A #2A964B
square
#2A3F96 #962A75 #96812A #2A964B
split-complementary
#2A3F96 #964B2A #75962A
monochromatic
#0F1736 #1D2B66 #2A3F96 #3753C6 #667CD4
Accessibility & contrast
On white
9.33
#2A3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A3F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3F96
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3F96 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3f96; /* rgb */ color: rgb(42, 63, 150); /* oklch */ color: oklch(40.5% 0.145 268.8);
Tailwind
colors: {
custom: {
50: '#7273b6',
500: '#2a3f96',
950: '#000000',
},
}SCSS
$custom: #2a3f96; $custom-light: #7273b6; $custom-dark: #000000;
JSON
{
"hex": "#2a3f96",
"rgb": {
"r": 42,
"g": 63,
"b": 150
},
"hsl": {
"h": 228.333,
"s": 56.25,
"l": 37.647
},
"oklch": {
"l": 0.40547,
"c": 0.14476,
"h": 268.8
},
"luminance": 0.06249
}Semantic roles & 50–950 ramp
primary
#2A3F96
secondary
#BAA961
accent
#C248E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80