#2D389F#2D389F
#2D389F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.165 H 271.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2D389F |
|---|---|
| RGB | rgb(45, 56, 159) |
| HSL | hsl(234, 56%, 40%) |
| HSV | hsv(234, 72%, 62%) |
| CMYK | cmyk(71.7%, 64.8%, 0%, 37.6%) |
| CIE-LAB | lab(29.13, 31.26, -57.17) |
| CIE-LCH | lch(29.13, 65.16, 298.67°) |
| OKLab | oklab(40.16% 0.0053 -0.1651) |
| OKLCH | oklch(40.16% 0.165 271.8) |
| XYZ | xyz(8.7523, 5.8886, 33.4695) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.88
Blueberry
#464196
ΔE00 4.50
Darkslateblue
#483D8B
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 5.96
Ocean Blue
#4F42B5
ΔE00 6.01
Cobalt
#0047AB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D389F #9F942D
analogous
#2D719F #2D389F #5B2D9F
triadic
#2D389F #9F2D38 #389F2D
tetradic
#2D389F #9F2D71 #9F942D #2D9F5B
square
#2D389F #9F2D71 #9F942D #2D9F5B
split-complementary
#2D389F #9F5B2D #719F2D
monochromatic
#121640 #20276F #2D389F #404DC9 #707AD6
Accessibility & contrast
On white
9.64
#2D389F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2D389F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D389F
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D389F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D389F | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d389f; /* rgb */ color: rgb(45, 56, 159); /* oklch */ color: oklch(40.2% 0.165 271.8);
Tailwind
colors: {
custom: {
50: '#766ebc',
500: '#2d389f',
950: '#000000',
},
}SCSS
$custom: #2d389f; $custom-light: #766ebc; $custom-dark: #000000;
JSON
{
"hex": "#2d389f",
"rgb": {
"r": 45,
"g": 56,
"b": 159
},
"hsl": {
"h": 234.211,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.40159,
"c": 0.1652,
"h": 271.8
},
"luminance": 0.05889
}Semantic roles & 50–950 ramp
primary
#2D389F
secondary
#BEB66A
accent
#D149DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81