#2D3F94#2D3F94
#2D3F94 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.141 H 269.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F94 |
|---|---|
| RGB | rgb(45, 63, 148) |
| HSL | hsl(230, 53%, 38%) |
| HSV | hsv(230, 70%, 58%) |
| CMYK | cmyk(69.6%, 57.4%, 0%, 42%) |
| CIE-LAB | lab(30.04, 22.54, -48.99) |
| CIE-LCH | lch(30.04, 53.92, 294.70°) |
| OKLab | oklab(40.54% -0.0002 -0.141) |
| OKLCH | oklch(40.54% 0.141 269.9) |
| XYZ | xyz(8.2032, 6.2502, 28.7853) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.20
Sapphire (survey)
#2138AB
ΔE00 4.27
Cobalt (survey)
#1E488F
ΔE00 4.85
Cobalt
#0047AB
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 5.52
Darkish Blue
#014182
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F94 #94822D
analogous
#2D7294 #2D3F94 #4F2D94
triadic
#2D3F94 #942D3F #3F942D
tetradic
#2D3F94 #942D72 #94822D #2D944F
square
#2D3F94 #942D72 #94822D #2D944F
split-complementary
#2D3F94 #944F2D #72942D
monochromatic
#101736 #1F2B65 #2D3F94 #3B53C3 #6A7CD2
Accessibility & contrast
On white
9.33
#2D3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2D3F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F94
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F94 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2d3f94; /* rgb */ color: rgb(45, 63, 148); /* oklch */ color: oklch(40.5% 0.141 269.9);
Tailwind
colors: {
custom: {
50: '#7373b4',
500: '#2d3f94',
950: '#000000',
},
}SCSS
$custom: #2d3f94; $custom-light: #7373b4; $custom-dark: #000000;
JSON
{
"hex": "#2d3f94",
"rgb": {
"r": 45,
"g": 63,
"b": 148
},
"hsl": {
"h": 229.515,
"s": 53.368,
"l": 37.843
},
"oklch": {
"l": 0.40545,
"c": 0.14103,
"h": 269.9
},
"luminance": 0.06251
}Semantic roles & 50–950 ramp
primary
#2D3F94
secondary
#B8AA64
accent
#C34BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80