#2D3F91#2D3F91
#2D3F91 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.137 H 269.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F91 |
|---|---|
| RGB | rgb(45, 63, 145) |
| HSL | hsl(229, 53%, 37%) |
| HSV | hsv(229, 69%, 57%) |
| CMYK | cmyk(69%, 56.6%, 0%, 43.1%) |
| CIE-LAB | lab(29.80, 21.41, -47.53) |
| CIE-LCH | lch(29.80, 52.13, 294.25°) |
| OKLab | oklab(40.3% -0.0003 -0.1367) |
| OKLCH | oklch(40.3% 0.137 269.9) |
| XYZ | xyz(7.9688, 6.1565, 27.5509) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.32
Sapphire (survey)
#2138AB
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 4.70
Cobalt
#0047AB
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 5.49
Darkish Blue
#014182
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F91 #917F2D
analogous
#2D7191 #2D3F91 #4D2D91
triadic
#2D3F91 #912D3F #3F912D
tetradic
#2D3F91 #912D71 #917F2D #2D914D
square
#2D3F91 #912D71 #917F2D #2D914D
split-complementary
#2D3F91 #914D2D #71912D
monochromatic
#101634 #1F2B62 #2D3F91 #3B53C0 #687BD0
Accessibility & contrast
On white
9.41
#2D3F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2D3F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F91
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F91 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2d3f91; /* rgb */ color: rgb(45, 63, 145); /* oklch */ color: oklch(40.3% 0.137 269.9);
Tailwind
colors: {
custom: {
50: '#7373b2',
500: '#2d3f91',
950: '#000000',
},
}SCSS
$custom: #2d3f91; $custom-light: #7373b2; $custom-dark: #000000;
JSON
{
"hex": "#2d3f91",
"rgb": {
"r": 45,
"g": 63,
"b": 145
},
"hsl": {
"h": 229.2,
"s": 52.632,
"l": 37.255
},
"oklch": {
"l": 0.40298,
"c": 0.13673,
"h": 269.9
},
"luminance": 0.06157
}Semantic roles & 50–950 ramp
primary
#2D3F91
secondary
#B7A863
accent
#C24CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80