#2D3F89#2D3F89
#2D3F89 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.125 H 269.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F89 |
|---|---|
| RGB | rgb(45, 63, 137) |
| HSL | hsl(228, 51%, 36%) |
| HSV | hsv(228, 67%, 54%) |
| CMYK | cmyk(67.2%, 54%, 0%, 46.3%) |
| CIE-LAB | lab(29.21, 18.39, -43.57) |
| CIE-LCH | lch(29.21, 47.29, 292.89°) |
| OKLab | oklab(39.66% -0.0009 -0.1251) |
| OKLCH | oklch(39.66% 0.125 269.6) |
| XYZ | xyz(7.3735, 5.9184, 24.4158) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.50
Blueberry
#464196
ΔE00 4.88
Darkish Blue
#014182
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 5.63
Sapphire (survey)
#2138AB
ΔE00 5.91
Cobalt
#0047AB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F89 #89772D
analogous
#2D6D89 #2D3F89 #492D89
triadic
#2D3F89 #892D3F #3F892D
tetradic
#2D3F89 #892D6D #89772D #2D8949
square
#2D3F89 #892D6D #89772D #2D8949
split-complementary
#2D3F89 #89492D #6D892D
monochromatic
#0F152D #1E2A5B #2D3F89 #3C54B7 #6479CC
Accessibility & contrast
On white
9.62
#2D3F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2D3F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F89
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F89 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#10498C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d3f89; /* rgb */ color: rgb(45, 63, 137); /* oklch */ color: oklch(39.7% 0.125 269.6);
Tailwind
colors: {
custom: {
50: '#7173ac',
500: '#2d3f89',
950: '#000000',
},
}SCSS
$custom: #2d3f89; $custom-light: #7173ac; $custom-dark: #000000;
JSON
{
"hex": "#2d3f89",
"rgb": {
"r": 45,
"g": 63,
"b": 137
},
"hsl": {
"h": 228.261,
"s": 50.549,
"l": 35.686
},
"oklch": {
"l": 0.39658,
"c": 0.12507,
"h": 269.6
},
"luminance": 0.05919
}Semantic roles & 50–950 ramp
primary
#2D3F89
secondary
#B3A25F
accent
#BF4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F