#2B348C#2B348C
#2B348C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.145 H 272.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2B348C |
|---|---|
| RGB | rgb(43, 52, 140) |
| HSL | hsl(234, 53%, 36%) |
| HSV | hsv(234, 69%, 55%) |
| CMYK | cmyk(69.3%, 62.9%, 0%, 45.1%) |
| CIE-LAB | lab(26.34, 26.65, -50.08) |
| CIE-LCH | lch(26.34, 56.73, 298.02°) |
| OKLab | oklab(37.56% 0.0071 -0.1444) |
| OKLCH | oklch(37.56% 0.145 272.8) |
| XYZ | xyz(6.9563, 4.8624, 25.3778) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.60
Blueberry
#464196
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 5.18
Royal
#0C1793
ΔE00 7.75
Cobalt (survey)
#1E488F
ΔE00 7.92
Midnight Blue
#191970
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B348C #8C832B
analogous
#2B648C #2B348C #522B8C
triadic
#2B348C #8C2B34 #348C2B
tetradic
#2B348C #8C2B64 #8C832B #2B8C52
square
#2B348C #8C2B64 #8C832B #2B8C52
split-complementary
#2B348C #8C522B #648C2B
monochromatic
#0E112E #1D235D #2B348C #3945BB #626DCF
Accessibility & contrast
On white
10.65
#2B348C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B348C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B348C
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B348C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B348C | 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)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b348c; /* rgb */ color: rgb(43, 52, 140); /* oklch */ color: oklch(37.6% 0.145 272.8);
Tailwind
colors: {
custom: {
50: '#716bae',
500: '#2b348c',
950: '#000000',
},
}SCSS
$custom: #2b348c; $custom-light: #716bae; $custom-dark: #000000;
JSON
{
"hex": "#2b348c",
"rgb": {
"r": 43,
"g": 52,
"b": 140
},
"hsl": {
"h": 234.433,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.3756,
"c": 0.14459,
"h": 272.8
},
"luminance": 0.04863
}Semantic roles & 50–950 ramp
primary
#2B348C
secondary
#B5AD5E
accent
#CF4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F