#2D3F8D#2D3F8D
#2D3F8D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.131 H 269.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F8D |
|---|---|
| RGB | rgb(45, 63, 141) |
| HSL | hsl(229, 52%, 36%) |
| HSV | hsv(229, 68%, 55%) |
| CMYK | cmyk(68.1%, 55.3%, 0%, 44.7%) |
| CIE-LAB | lab(29.50, 19.90, -45.56) |
| CIE-LCH | lch(29.50, 49.71, 293.60°) |
| OKLab | oklab(39.98% -0.0005 -0.1309) |
| OKLCH | oklch(39.98% 0.131 269.8) |
| XYZ | xyz(7.6658, 6.0353, 25.9551) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 4.56
Sapphire (survey)
#2138AB
ΔE00 5.30
Darkslateblue
#483D8B
ΔE00 5.52
Cobalt
#0047AB
ΔE00 5.65
Darkish Blue
#014182
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F8D #8D7B2D
analogous
#2D6F8D #2D3F8D #4B2D8D
triadic
#2D3F8D #8D2D3F #3F8D2D
tetradic
#2D3F8D #8D2D6F #8D7B2D #2D8D4B
square
#2D3F8D #8D2D6F #8D7B2D #2D8D4B
split-complementary
#2D3F8D #8D4B2D #6F8D2D
monochromatic
#0F1630 #1E2A5F #2D3F8D #3C54BB #667ACE
Accessibility & contrast
On white
9.51
#2D3F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2D3F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F8D
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F8D | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#064A90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d3f8d; /* rgb */ color: rgb(45, 63, 141); /* oklch */ color: oklch(40.0% 0.131 269.8);
Tailwind
colors: {
custom: {
50: '#7273af',
500: '#2d3f8d',
950: '#000000',
},
}SCSS
$custom: #2d3f8d; $custom-light: #7273af; $custom-dark: #000000;
JSON
{
"hex": "#2d3f8d",
"rgb": {
"r": 45,
"g": 63,
"b": 141
},
"hsl": {
"h": 228.75,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.39975,
"c": 0.13093,
"h": 269.8
},
"luminance": 0.06036
}Semantic roles & 50–950 ramp
primary
#2D3F8D
secondary
#B5A561
accent
#C04DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F