#2A3F92#2A3F92
#2A3F92 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.139 H 268.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3F92 |
|---|---|
| RGB | rgb(42, 63, 146) |
| HSL | hsl(228, 55%, 37%) |
| HSV | hsv(228, 71%, 57%) |
| CMYK | cmyk(71.2%, 56.8%, 0%, 42.7%) |
| CIE-LAB | lab(29.72, 21.32, -48.29) |
| CIE-LCH | lch(29.72, 52.79, 293.82°) |
| OKLab | oklab(40.21% -0.0033 -0.139) |
| OKLCH | oklch(40.21% 0.139 268.6) |
| XYZ | xyz(7.9189, 6.1218, 27.9528) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.42
Sapphire (survey)
#2138AB
ΔE00 4.60
Blueberry
#464196
ΔE00 4.70
Cobalt
#0047AB
ΔE00 4.96
Darkish Blue
#014182
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3F92 #927D2A
analogous
#2A7392 #2A3F92 #492A92
triadic
#2A3F92 #922A3F #3F922A
tetradic
#2A3F92 #922A73 #927D2A #2A9249
square
#2A3F92 #922A73 #927D2A #2A9249
split-complementary
#2A3F92 #92492A #73922A
monochromatic
#0F1633 #1C2A62 #2A3F92 #3854C2 #647AD2
Accessibility & contrast
On white
9.44
#2A3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A3F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3F92
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3F92 | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3f92; /* rgb */ color: rgb(42, 63, 146); /* oklch */ color: oklch(40.2% 0.139 268.6);
Tailwind
colors: {
custom: {
50: '#7173b3',
500: '#2a3f92',
950: '#000000',
},
}SCSS
$custom: #2a3f92; $custom-light: #7173b3; $custom-dark: #000000;
JSON
{
"hex": "#2a3f92",
"rgb": {
"r": 42,
"g": 63,
"b": 146
},
"hsl": {
"h": 227.885,
"s": 55.319,
"l": 36.863
},
"oklch": {
"l": 0.40214,
"c": 0.13907,
"h": 268.6
},
"luminance": 0.06123
}Semantic roles & 50–950 ramp
primary
#2A3F92
secondary
#B8A65F
accent
#C049DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80