#2D348C#2D348C
#2D348C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.144 H 273.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2D348C |
|---|---|
| RGB | rgb(45, 52, 140) |
| HSL | hsl(236, 51%, 36%) |
| HSV | hsv(236, 68%, 55%) |
| CMYK | cmyk(67.9%, 62.9%, 0%, 45.1%) |
| CIE-LAB | lab(26.47, 26.95, -49.87) |
| CIE-LCH | lch(26.47, 56.69, 298.39°) |
| OKLab | oklab(37.69% 0.0094 -0.1437) |
| OKLCH | oklch(37.69% 0.144 273.7) |
| XYZ | xyz(7.0422, 4.9067, 25.3818) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.66
Blueberry
#464196
ΔE00 4.90
Darkslateblue
#483D8B
ΔE00 4.94
Royal
#0C1793
ΔE00 7.74
Midnight Blue
#191970
ΔE00 7.97
Cobalt (survey)
#1E488F
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D348C #8C852D
analogous
#2D648C #2D348C #562D8C
triadic
#2D348C #8C2D34 #348C2D
tetradic
#2D348C #8C2D64 #8C852D #2D8C56
square
#2D348C #8C2D64 #8C852D #2D8C56
split-complementary
#2D348C #8C562D #648C2D
monochromatic
#0F122F #1E235E #2D348C #3C45BA #666DCE
Accessibility & contrast
On white
10.60
#2D348C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2D348C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D348C
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D348C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D348C | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2d348c; /* rgb */ color: rgb(45, 52, 140); /* oklch */ color: oklch(37.7% 0.144 273.7);
Tailwind
colors: {
custom: {
50: '#726bae',
500: '#2d348c',
950: '#000000',
},
}SCSS
$custom: #2d348c; $custom-light: #726bae; $custom-dark: #000000;
JSON
{
"hex": "#2d348c",
"rgb": {
"r": 45,
"g": 52,
"b": 140
},
"hsl": {
"h": 235.579,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.37689,
"c": 0.14405,
"h": 273.7
},
"luminance": 0.04907
}Semantic roles & 50–950 ramp
primary
#2D348C
secondary
#B4AE60
accent
#D04DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F