#2D388F#2D388F
#2D388F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.143 H 272.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2D388F |
|---|---|
| RGB | rgb(45, 56, 143) |
| HSL | hsl(233, 52%, 37%) |
| HSV | hsv(233, 69%, 56%) |
| CMYK | cmyk(68.5%, 60.8%, 0%, 43.9%) |
| CIE-LAB | lab(27.76, 25.38, -49.62) |
| CIE-LCH | lch(27.76, 55.73, 297.09°) |
| OKLab | oklab(38.72% 0.0059 -0.143) |
| OKLCH | oklch(38.72% 0.143 272.4) |
| XYZ | xyz(7.4526, 5.3687, 26.6248) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.18
Blueberry
#464196
ΔE00 4.33
Darkslateblue
#483D8B
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 6.89
Cobalt
#0047AB
ΔE00 7.08
Darkish Blue
#014182
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D388F #8F842D
analogous
#2D698F #2D388F #532D8F
triadic
#2D388F #8F2D38 #388F2D
tetradic
#2D388F #8F2D69 #8F842D #2D8F53
square
#2D388F #8F2D69 #8F842D #2D8F53
split-complementary
#2D388F #8F532D #698F2D
monochromatic
#101432 #1E2660 #2D388F #3C4ABE #6773CF
Accessibility & contrast
On white
10.13
#2D388F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2D388F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D388F
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D388F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D388F | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2d388f; /* rgb */ color: rgb(45, 56, 143); /* oklch */ color: oklch(38.7% 0.143 272.4);
Tailwind
colors: {
custom: {
50: '#736eb1',
500: '#2d388f',
950: '#000000',
},
}SCSS
$custom: #2d388f; $custom-light: #736eb1; $custom-dark: #000000;
JSON
{
"hex": "#2d388f",
"rgb": {
"r": 45,
"g": 56,
"b": 143
},
"hsl": {
"h": 233.265,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.38724,
"c": 0.14308,
"h": 272.4
},
"luminance": 0.05369
}Semantic roles & 50–950 ramp
primary
#2D388F
secondary
#B6AC62
accent
#CB4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80