#2D3F95#2D3F95
#2D3F95 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.142 H 269.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F95 |
|---|---|
| RGB | rgb(45, 63, 149) |
| HSL | hsl(230, 54%, 38%) |
| HSV | hsv(230, 70%, 58%) |
| CMYK | cmyk(69.8%, 57.7%, 0%, 41.6%) |
| CIE-LAB | lab(30.11, 22.91, -49.48) |
| CIE-LCH | lch(30.11, 54.52, 294.85°) |
| OKLab | oklab(40.63% -0.0001 -0.1424) |
| OKLCH | oklch(40.63% 0.142 269.9) |
| XYZ | xyz(8.2827, 6.2820, 29.2040) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Blueberry
#464196
ΔE00 4.17
Cobalt (survey)
#1E488F
ΔE00 4.91
Cobalt
#0047AB
ΔE00 5.05
Darkslateblue
#483D8B
ΔE00 5.54
Darkish Blue
#014182
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F95 #95832D
analogous
#2D7395 #2D3F95 #4F2D95
triadic
#2D3F95 #952D3F #3F952D
tetradic
#2D3F95 #952D73 #95832D #2D954F
square
#2D3F95 #952D73 #95832D #2D954F
split-complementary
#2D3F95 #954F2D #73952D
monochromatic
#111737 #1F2B66 #2D3F95 #3B53C4 #6A7CD2
Accessibility & contrast
On white
9.31
#2D3F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2D3F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F95
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F95 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2d3f95; /* rgb */ color: rgb(45, 63, 149); /* oklch */ color: oklch(40.6% 0.142 269.9);
Tailwind
colors: {
custom: {
50: '#7373b5',
500: '#2d3f95',
950: '#000000',
},
}SCSS
$custom: #2d3f95; $custom-light: #7373b5; $custom-dark: #000000;
JSON
{
"hex": "#2d3f95",
"rgb": {
"r": 45,
"g": 63,
"b": 149
},
"hsl": {
"h": 229.615,
"s": 53.608,
"l": 38.039
},
"oklch": {
"l": 0.40628,
"c": 0.14245,
"h": 269.9
},
"luminance": 0.06283
}Semantic roles & 50–950 ramp
primary
#2D3F95
secondary
#B9AA65
accent
#C44BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80