#2D3D8F#2D3D8F
#2D3D8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.137 H 270.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3D8F |
|---|---|
| RGB | rgb(45, 61, 143) |
| HSL | hsl(230, 52%, 37%) |
| HSV | hsv(230, 69%, 56%) |
| CMYK | cmyk(68.5%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(29.10, 22.01, -47.44) |
| CIE-LCH | lch(29.10, 52.29, 294.89°) |
| OKLab | oklab(39.72% 0.0014 -0.1365) |
| OKLCH | oklch(39.72% 0.137 270.6) |
| XYZ | xyz(7.7072, 5.8778, 26.7096) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.26
Sapphire (survey)
#2138AB
ΔE00 4.66
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt (survey)
#1E488F
ΔE00 5.27
Cobalt
#0047AB
ΔE00 5.90
Darkish Blue
#014182
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3D8F #8F7F2D
analogous
#2D6E8F #2D3D8F #4E2D8F
triadic
#2D3D8F #8F2D3D #3D8F2D
tetradic
#2D3D8F #8F2D6E #8F7F2D #2D8F4E
square
#2D3D8F #8F2D6E #8F7F2D #2D8F4E
split-complementary
#2D3D8F #8F4E2D #6E8F2D
monochromatic
#101532 #1E2960 #2D3D8F #3C51BE #6778CF
Accessibility & contrast
On white
9.65
#2D3D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2D3D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3D8F
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3D8F | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d3d8f; /* rgb */ color: rgb(45, 61, 143); /* oklch */ color: oklch(39.7% 0.137 270.6);
Tailwind
colors: {
custom: {
50: '#7272b0',
500: '#2d3d8f',
950: '#000000',
},
}SCSS
$custom: #2d3d8f; $custom-light: #7272b0; $custom-dark: #000000;
JSON
{
"hex": "#2d3d8f",
"rgb": {
"r": 45,
"g": 61,
"b": 143
},
"hsl": {
"h": 230.204,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.39724,
"c": 0.1365,
"h": 270.6
},
"luminance": 0.05879
}Semantic roles & 50–950 ramp
primary
#2D3D8F
secondary
#B6A862
accent
#C44CDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80