#2D338F#2D338F
#2D338F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.150 H 273.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2D338F |
|---|---|
| RGB | rgb(45, 51, 143) |
| HSL | hsl(236, 52%, 37%) |
| HSV | hsv(236, 69%, 56%) |
| CMYK | cmyk(68.5%, 64.3%, 0%, 43.9%) |
| CIE-LAB | lab(26.47, 28.71, -51.72) |
| CIE-LCH | lch(26.47, 59.15, 299.04°) |
| OKLab | oklab(37.77% 0.0101 -0.1492) |
| OKLCH | oklch(37.77% 0.15 273.9) |
| XYZ | xyz(7.2223, 4.9081, 26.5480) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Blueberry
#464196
ΔE00 5.00
Darkslateblue
#483D8B
ΔE00 5.12
Royal
#0C1793
ΔE00 7.28
Midnight Blue
#191970
ΔE00 7.89
Ocean Blue
#4F42B5
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D338F #8F892D
analogous
#2D648F #2D338F #582D8F
triadic
#2D338F #8F2D33 #338F2D
tetradic
#2D338F #8F2D64 #8F892D #2D8F58
square
#2D338F #8F2D64 #8F892D #2D8F58
split-complementary
#2D338F #8F582D #648F2D
monochromatic
#101232 #1E2260 #2D338F #3C44BE #676ECF
Accessibility & contrast
On white
10.60
#2D338F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2D338F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D338F
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D338F | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2d338f; /* rgb */ color: rgb(45, 51, 143); /* oklch */ color: oklch(37.8% 0.150 273.9);
Tailwind
colors: {
custom: {
50: '#736ab1',
500: '#2d338f',
950: '#000000',
},
}SCSS
$custom: #2d338f; $custom-light: #736ab1; $custom-dark: #000000;
JSON
{
"hex": "#2d338f",
"rgb": {
"r": 45,
"g": 51,
"b": 143
},
"hsl": {
"h": 236.327,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.37772,
"c": 0.14951,
"h": 273.9
},
"luminance": 0.04909
}Semantic roles & 50–950 ramp
primary
#2D338F
secondary
#B6B162
accent
#D34CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80