#2D398F#2D398F
#2D398F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.142 H 272.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2D398F |
|---|---|
| RGB | rgb(45, 57, 143) |
| HSL | hsl(233, 52%, 37%) |
| HSV | hsv(233, 69%, 56%) |
| CMYK | cmyk(68.5%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(28.02, 24.71, -49.19) |
| CIE-LCH | lch(28.02, 55.05, 296.68°) |
| OKLab | oklab(38.92% 0.005 -0.1417) |
| OKLCH | oklch(38.92% 0.142 272) |
| XYZ | xyz(7.5016, 5.4666, 26.6411) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.23
Blueberry
#464196
ΔE00 4.26
Darkslateblue
#483D8B
ΔE00 4.88
Cobalt (survey)
#1E488F
ΔE00 6.57
Cobalt
#0047AB
ΔE00 6.83
Darkish Blue
#014182
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D398F #8F832D
analogous
#2D6A8F #2D398F #522D8F
triadic
#2D398F #8F2D39 #398F2D
tetradic
#2D398F #8F2D6A #8F832D #2D8F52
square
#2D398F #8F2D6A #8F832D #2D8F52
split-complementary
#2D398F #8F522D #6A8F2D
monochromatic
#101432 #1E2660 #2D398F #3C4CBE #6774CF
Accessibility & contrast
On white
10.03
#2D398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2D398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D398F
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D398F | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2d398f; /* rgb */ color: rgb(45, 57, 143); /* oklch */ color: oklch(38.9% 0.142 272.0);
Tailwind
colors: {
custom: {
50: '#736fb0',
500: '#2d398f',
950: '#000000',
},
}SCSS
$custom: #2d398f; $custom-light: #736fb0; $custom-dark: #000000;
JSON
{
"hex": "#2d398f",
"rgb": {
"r": 45,
"g": 57,
"b": 143
},
"hsl": {
"h": 232.653,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.3892,
"c": 0.14177,
"h": 272
},
"luminance": 0.05467
}Semantic roles & 50–950 ramp
primary
#2D398F
secondary
#B6AC62
accent
#CA4CDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80