#2C348B#2C348B
#2C348B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.143 H 273.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2C348B |
|---|---|
| RGB | rgb(44, 52, 139) |
| HSL | hsl(235, 52%, 36%) |
| HSV | hsv(235, 68%, 55%) |
| CMYK | cmyk(68.3%, 62.6%, 0%, 45.5%) |
| CIE-LAB | lab(26.32, 26.43, -49.50) |
| CIE-LCH | lch(26.32, 56.11, 298.10°) |
| OKLab | oklab(37.54% 0.0083 -0.1427) |
| OKLCH | oklch(37.54% 0.143 273.3) |
| XYZ | xyz(6.9253, 4.8549, 24.9932) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.78
Blueberry
#464196
ΔE00 5.02
Darkslateblue
#483D8B
ΔE00 5.04
Royal
#0C1793
ΔE00 7.81
Midnight Blue
#191970
ΔE00 7.93
Cobalt (survey)
#1E488F
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C348B #8B832C
analogous
#2C638B #2C348B #532C8B
triadic
#2C348B #8B2C34 #348B2C
tetradic
#2C348B #8B2C63 #8B832C #2C8B53
square
#2C348B #8B2C63 #8B832C #2C8B53
split-complementary
#2C348B #8B532C #638B2C
monochromatic
#0F112E #1D235D #2C348B #3B45B9 #646DCE
Accessibility & contrast
On white
10.65
#2C348B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2C348B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C348B
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C348B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C348B | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c348b; /* rgb */ color: rgb(44, 52, 139); /* oklch */ color: oklch(37.5% 0.143 273.3);
Tailwind
colors: {
custom: {
50: '#726bae',
500: '#2c348b',
950: '#000000',
},
}SCSS
$custom: #2c348b; $custom-light: #726bae; $custom-dark: #000000;
JSON
{
"hex": "#2c348b",
"rgb": {
"r": 44,
"g": 52,
"b": 139
},
"hsl": {
"h": 234.947,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.37535,
"c": 0.14291,
"h": 273.3
},
"luminance": 0.04856
}Semantic roles & 50–950 ramp
primary
#2C348B
secondary
#B4AD5F
accent
#CF4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F