#2D3F99#2D3F99
#2D3F99 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.148 H 270.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F99 |
|---|---|
| RGB | rgb(45, 63, 153) |
| HSL | hsl(230, 55%, 39%) |
| HSV | hsv(230, 71%, 60%) |
| CMYK | cmyk(70.6%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(30.43, 24.41, -51.40) |
| CIE-LCH | lch(30.43, 56.90, 295.40°) |
| OKLab | oklab(40.96% 0 -0.1481) |
| OKLCH | oklch(40.96% 0.148 270) |
| XYZ | xyz(8.6075, 6.4120, 30.9148) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.59
Blueberry
#464196
ΔE00 4.11
Cobalt
#0047AB
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 5.17
Darkslateblue
#483D8B
ΔE00 5.66
Blue Blue
#2242C7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F99 #99872D
analogous
#2D7599 #2D3F99 #512D99
triadic
#2D3F99 #992D3F #3F992D
tetradic
#2D3F99 #992D75 #99872D #2D9951
square
#2D3F99 #992D75 #99872D #2D9951
split-complementary
#2D3F99 #99512D #75992D
monochromatic
#11183A #1F2C6A #2D3F99 #3D54C6 #6C7ED4
Accessibility & contrast
On white
9.20
#2D3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2D3F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F99
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F99 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d3f99; /* rgb */ color: rgb(45, 63, 153); /* oklch */ color: oklch(41.0% 0.148 270.0);
Tailwind
colors: {
custom: {
50: '#7473b8',
500: '#2d3f99',
950: '#000000',
},
}SCSS
$custom: #2d3f99; $custom-light: #7473b8; $custom-dark: #000000;
JSON
{
"hex": "#2d3f99",
"rgb": {
"r": 45,
"g": 63,
"b": 153
},
"hsl": {
"h": 230,
"s": 54.545,
"l": 38.824
},
"oklch": {
"l": 0.40963,
"c": 0.14812,
"h": 270
},
"luminance": 0.06413
}Semantic roles & 50–950 ramp
primary
#2D3F99
secondary
#BBAD67
accent
#C54ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80