#2D3F8E#2D3F8E
#2D3F8E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.132 H 269.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F8E |
|---|---|
| RGB | rgb(45, 63, 142) |
| HSL | hsl(229, 52%, 37%) |
| HSV | hsv(229, 68%, 56%) |
| CMYK | cmyk(68.3%, 55.6%, 0%, 44.3%) |
| CIE-LAB | lab(29.58, 20.28, -46.05) |
| CIE-LCH | lch(29.58, 50.32, 293.76°) |
| OKLab | oklab(40.06% -0.0005 -0.1324) |
| OKLCH | oklch(40.06% 0.132 269.8) |
| XYZ | xyz(7.7405, 6.0652, 26.3487) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.49
Cobalt (survey)
#1E488F
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 5.15
Darkslateblue
#483D8B
ΔE00 5.51
Cobalt
#0047AB
ΔE00 5.56
Darkish Blue
#014182
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F8E #8E7C2D
analogous
#2D708E #2D3F8E #4C2D8E
triadic
#2D3F8E #8E2D3F #3F8E2D
tetradic
#2D3F8E #8E2D70 #8E7C2D #2D8E4C
square
#2D3F8E #8E2D70 #8E7C2D #2D8E4C
split-complementary
#2D3F8E #8E4C2D #708E2D
monochromatic
#101631 #1E2A60 #2D3F8E #3C54BC #677ACF
Accessibility & contrast
On white
9.49
#2D3F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2D3F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F8E
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F8E | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034A91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2d3f8e; /* rgb */ color: rgb(45, 63, 142); /* oklch */ color: oklch(40.1% 0.132 269.8);
Tailwind
colors: {
custom: {
50: '#7273b0',
500: '#2d3f8e',
950: '#000000',
},
}SCSS
$custom: #2d3f8e; $custom-light: #7273b0; $custom-dark: #000000;
JSON
{
"hex": "#2d3f8e",
"rgb": {
"r": 45,
"g": 63,
"b": 142
},
"hsl": {
"h": 228.866,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.40055,
"c": 0.13239,
"h": 269.8
},
"luminance": 0.06066
}Semantic roles & 50–950 ramp
primary
#2D3F8E
secondary
#B5A661
accent
#C14CDB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090810
muted
#7B7B7F