#2A348C#2A348C
#2A348C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.145 H 272.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A348C |
|---|---|
| RGB | rgb(42, 52, 140) |
| HSL | hsl(234, 54%, 36%) |
| HSV | hsv(234, 70%, 55%) |
| CMYK | cmyk(70%, 62.9%, 0%, 45.1%) |
| CIE-LAB | lab(26.28, 26.50, -50.19) |
| CIE-LCH | lch(26.28, 56.76, 297.84°) |
| OKLab | oklab(37.5% 0.0059 -0.1447) |
| OKLCH | oklch(37.5% 0.145 272.3) |
| XYZ | xyz(6.9149, 4.8410, 25.3759) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.58
Blueberry
#464196
ΔE00 5.17
Darkslateblue
#483D8B
ΔE00 5.30
Royal
#0C1793
ΔE00 7.76
Cobalt (survey)
#1E488F
ΔE00 7.84
Midnight Blue
#191970
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A348C #8C822A
analogous
#2A658C #2A348C #512A8C
triadic
#2A348C #8C2A34 #348C2A
tetradic
#2A348C #8C2A65 #8C822A #2A8C51
square
#2A348C #8C2A65 #8C822A #2A8C51
split-complementary
#2A348C #8C512A #658C2A
monochromatic
#0E112E #1C235D #2A348C #3845BB #616CD0
Accessibility & contrast
On white
10.67
#2A348C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2A348C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A348C
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A348C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A348C | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a348c; /* rgb */ color: rgb(42, 52, 140); /* oklch */ color: oklch(37.5% 0.145 272.3);
Tailwind
colors: {
custom: {
50: '#716bae',
500: '#2a348c',
950: '#000000',
},
}SCSS
$custom: #2a348c; $custom-light: #716bae; $custom-dark: #000000;
JSON
{
"hex": "#2a348c",
"rgb": {
"r": 42,
"g": 52,
"b": 140
},
"hsl": {
"h": 233.878,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.37498,
"c": 0.14487,
"h": 272.3
},
"luminance": 0.04842
}Semantic roles & 50–950 ramp
primary
#2A348C
secondary
#B5AC5C
accent
#CE4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F