#2C348D#2C348D
#2C348D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.146 H 273.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2C348D |
|---|---|
| RGB | rgb(44, 52, 141) |
| HSL | hsl(235, 52%, 36%) |
| HSV | hsv(235, 69%, 55%) |
| CMYK | cmyk(68.8%, 63.1%, 0%, 44.7%) |
| CIE-LAB | lab(26.49, 27.17, -50.46) |
| CIE-LCH | lch(26.49, 57.31, 298.30°) |
| OKLab | oklab(37.71% 0.0082 -0.1455) |
| OKLCH | oklch(37.71% 0.146 273.2) |
| XYZ | xyz(7.0728, 4.9139, 25.7699) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.48
Blueberry
#464196
ΔE00 4.96
Darkslateblue
#483D8B
ΔE00 5.08
Royal
#0C1793
ΔE00 7.68
Midnight Blue
#191970
ΔE00 8.02
Cobalt (survey)
#1E488F
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C348D #8D852C
analogous
#2C658D #2C348D #552C8D
triadic
#2C348D #8D2C34 #348D2C
tetradic
#2C348D #8D2C65 #8D852C #2C8D55
square
#2C348D #8D2C65 #8D852C #2C8D55
split-complementary
#2C348D #8D552C #658D2C
monochromatic
#0F1230 #1D235E #2C348D #3B45BC #656DCF
Accessibility & contrast
On white
10.59
#2C348D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2C348D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C348D
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C348D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C348D | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c348d; /* rgb */ color: rgb(44, 52, 141); /* oklch */ color: oklch(37.7% 0.146 273.2);
Tailwind
colors: {
custom: {
50: '#726baf',
500: '#2c348d',
950: '#000000',
},
}SCSS
$custom: #2c348d; $custom-light: #726baf; $custom-dark: #000000;
JSON
{
"hex": "#2c348d",
"rgb": {
"r": 44,
"g": 52,
"b": 141
},
"hsl": {
"h": 235.052,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.37714,
"c": 0.14572,
"h": 273.2
},
"luminance": 0.04915
}Semantic roles & 50–950 ramp
primary
#2C348D
secondary
#B5AE60
accent
#D04CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F