#2A348F#2A348F
#2A348F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.149 H 272.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2A348F |
|---|---|
| RGB | rgb(42, 52, 143) |
| HSL | hsl(234, 55%, 36%) |
| HSV | hsv(234, 71%, 56%) |
| CMYK | cmyk(70.6%, 63.6%, 0%, 43.9%) |
| CIE-LAB | lab(26.54, 27.62, -51.62) |
| CIE-LCH | lch(26.54, 58.54, 298.15°) |
| OKLab | oklab(37.77% 0.0058 -0.149) |
| OKLCH | oklch(37.77% 0.149 272.2) |
| XYZ | xyz(7.1391, 4.9307, 26.5568) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Blueberry
#464196
ΔE00 5.09
Darkslateblue
#483D8B
ΔE00 5.36
Royal
#0C1793
ΔE00 7.59
Cobalt
#0047AB
ΔE00 7.86
Cobalt (survey)
#1E488F
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A348F #8F852A
analogous
#2A678F #2A348F #532A8F
triadic
#2A348F #8F2A34 #348F2A
tetradic
#2A348F #8F2A67 #8F852A #2A8F53
square
#2A348F #8F2A67 #8F852A #2A8F53
split-complementary
#2A348F #8F532A #678F2A
monochromatic
#0E1230 #1C2360 #2A348F #3845BE #626DD1
Accessibility & contrast
On white
10.57
#2A348F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2A348F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A348F
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A348F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A348F | 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)
#004392
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a348f; /* rgb */ color: rgb(42, 52, 143); /* oklch */ color: oklch(37.8% 0.149 272.2);
Tailwind
colors: {
custom: {
50: '#726bb1',
500: '#2a348f',
950: '#000000',
},
}SCSS
$custom: #2a348f; $custom-light: #726bb1; $custom-dark: #000000;
JSON
{
"hex": "#2a348f",
"rgb": {
"r": 42,
"g": 52,
"b": 143
},
"hsl": {
"h": 234.059,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.3777,
"c": 0.14907,
"h": 272.2
},
"luminance": 0.04931
}Semantic roles & 50–950 ramp
primary
#2A348F
secondary
#B7AE5E
accent
#CF4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80