#2D3E98#2D3E98
#2D3E98 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.148 H 270.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3E98 |
|---|---|
| RGB | rgb(45, 62, 152) |
| HSL | hsl(230, 54%, 39%) |
| HSV | hsv(230, 70%, 60%) |
| CMYK | cmyk(70.4%, 59.2%, 0%, 40.4%) |
| CIE-LAB | lab(30.08, 24.71, -51.36) |
| CIE-LCH | lch(30.08, 56.99, 295.69°) |
| OKLab | oklab(40.68% 0.0008 -0.148) |
| OKLCH | oklch(40.68% 0.148 270.3) |
| XYZ | xyz(8.4704, 6.2693, 30.4634) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Blueberry
#464196
ΔE00 4.05
Cobalt
#0047AB
ΔE00 5.13
Cobalt (survey)
#1E488F
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3E98 #98872D
analogous
#2D7398 #2D3E98 #512D98
triadic
#2D3E98 #982D3E #3E982D
tetradic
#2D3E98 #982D73 #98872D #2D9851
square
#2D3E98 #982D73 #98872D #2D9851
split-complementary
#2D3E98 #98512D #73982D
monochromatic
#11173A #1F2B69 #2D3E98 #3D52C5 #6C7CD3
Accessibility & contrast
On white
9.32
#2D3E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2D3E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3E98
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3E98 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2d3e98; /* rgb */ color: rgb(45, 62, 152); /* oklch */ color: oklch(40.7% 0.148 270.3);
Tailwind
colors: {
custom: {
50: '#7473b7',
500: '#2d3e98',
950: '#000000',
},
}SCSS
$custom: #2d3e98; $custom-light: #7473b7; $custom-dark: #000000;
JSON
{
"hex": "#2d3e98",
"rgb": {
"r": 45,
"g": 62,
"b": 152
},
"hsl": {
"h": 230.467,
"s": 54.315,
"l": 38.627
},
"oklch": {
"l": 0.40679,
"c": 0.148,
"h": 270.3
},
"luminance": 0.0627
}Semantic roles & 50–950 ramp
primary
#2D3E98
secondary
#BAAD66
accent
#C64ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80