#2C348C#2C348C
#2C348C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.144 H 273.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C348C |
|---|---|
| RGB | rgb(44, 52, 140) |
| HSL | hsl(235, 52%, 36%) |
| HSV | hsv(235, 69%, 55%) |
| CMYK | cmyk(68.6%, 62.9%, 0%, 45.1%) |
| CIE-LAB | lab(26.40, 26.80, -49.98) |
| CIE-LCH | lch(26.40, 56.71, 298.20°) |
| OKLab | oklab(37.62% 0.0082 -0.1441) |
| OKLCH | oklch(37.62% 0.144 273.3) |
| XYZ | xyz(6.9987, 4.8843, 25.3798) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.63
Blueberry
#464196
ΔE00 4.99
Darkslateblue
#483D8B
ΔE00 5.06
Royal
#0C1793
ΔE00 7.74
Midnight Blue
#191970
ΔE00 7.97
Cobalt (survey)
#1E488F
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C348C #8C842C
analogous
#2C648C #2C348C #542C8C
triadic
#2C348C #8C2C34 #348C2C
tetradic
#2C348C #8C2C64 #8C842C #2C8C54
square
#2C348C #8C2C64 #8C842C #2C8C54
split-complementary
#2C348C #8C542C #648C2C
monochromatic
#0F112F #1D235D #2C348C #3B45BB #646DCE
Accessibility & contrast
On white
10.62
#2C348C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2C348C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C348C
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C348C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C348C | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 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: #2c348c; /* rgb */ color: rgb(44, 52, 140); /* oklch */ color: oklch(37.6% 0.144 273.3);
Tailwind
colors: {
custom: {
50: '#726bae',
500: '#2c348c',
950: '#000000',
},
}SCSS
$custom: #2c348c; $custom-light: #726bae; $custom-dark: #000000;
JSON
{
"hex": "#2c348c",
"rgb": {
"r": 44,
"g": 52,
"b": 140
},
"hsl": {
"h": 235,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.37624,
"c": 0.14431,
"h": 273.3
},
"luminance": 0.04885
}Semantic roles & 50–950 ramp
primary
#2C348C
secondary
#B5AE5F
accent
#D04CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F