#2C348A#2C348A
#2C348A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.141 H 273.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C348A |
|---|---|
| RGB | rgb(44, 52, 138) |
| HSL | hsl(235, 52%, 36%) |
| HSV | hsv(235, 68%, 54%) |
| CMYK | cmyk(68.1%, 62.3%, 0%, 45.9%) |
| CIE-LAB | lab(26.23, 26.06, -49.01) |
| CIE-LCH | lch(26.23, 55.51, 298.00°) |
| OKLab | oklab(37.45% 0.0083 -0.1412) |
| OKLCH | oklch(37.45% 0.141 273.4) |
| XYZ | xyz(6.8526, 4.8258, 24.6102) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.93
Darkslateblue
#483D8B
ΔE00 5.03
Blueberry
#464196
ΔE00 5.06
Royal
#0C1793
ΔE00 7.87
Midnight Blue
#191970
ΔE00 7.89
Cobalt (survey)
#1E488F
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C348A #8A822C
analogous
#2C638A #2C348A #532C8A
triadic
#2C348A #8A2C34 #348A2C
tetradic
#2C348A #8A2C63 #8A822C #2C8A53
square
#2C348A #8A2C63 #8A822C #2C8A53
split-complementary
#2C348A #8A532C #638A2C
monochromatic
#0E112D #1D235C #2C348A #3B45B8 #636CCD
Accessibility & contrast
On white
10.69
#2C348A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2C348A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C348A
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C348A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C348A | 1.00 | 10.69 | 1.97 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c348a; /* rgb */ color: rgb(44, 52, 138); /* oklch */ color: oklch(37.4% 0.141 273.4);
Tailwind
colors: {
custom: {
50: '#716bad',
500: '#2c348a',
950: '#000000',
},
}SCSS
$custom: #2c348a; $custom-light: #716bad; $custom-dark: #000000;
JSON
{
"hex": "#2c348a",
"rgb": {
"r": 44,
"g": 52,
"b": 138
},
"hsl": {
"h": 234.894,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.37446,
"c": 0.14149,
"h": 273.4
},
"luminance": 0.04826
}Semantic roles & 50–950 ramp
primary
#2C348A
secondary
#B4AC5E
accent
#CF4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F