#2D2F92#2D2F92
#2D2F92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.159 H 274.7°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2F92 |
|---|---|
| RGB | rgb(45, 47, 146) |
| HSL | hsl(239, 53%, 37%) |
| HSV | hsv(239, 69%, 57%) |
| CMYK | cmyk(69.2%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(25.76, 32.39, -54.74) |
| CIE-LCH | lch(25.76, 63.60, 300.62°) |
| OKLab | oklab(37.34% 0.013 -0.158) |
| OKLCH | oklch(37.34% 0.159 274.7) |
| XYZ | xyz(7.2853, 4.6656, 27.7052) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.40
Blueberry
#464196
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 5.78
Royal
#0C1793
ΔE00 6.03
Indigo Blue
#3A18B1
ΔE00 7.02
Midnight Blue
#191970
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2F92 #92902D
analogous
#2D6192 #2D2F92 #5E2D92
triadic
#2D2F92 #922D2F #2F922D
tetradic
#2D2F92 #922D61 #92902D #2D925E
square
#2D2F92 #922D61 #92902D #2D925E
split-complementary
#2D2F92 #925E2D #61922D
monochromatic
#101134 #1F2063 #2D2F92 #3B3EC1 #696BD1
Accessibility & contrast
On white
10.86
#2D2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2D2F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2F92
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2F92 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d2f92; /* rgb */ color: rgb(45, 47, 146); /* oklch */ color: oklch(37.3% 0.159 274.7);
Tailwind
colors: {
custom: {
50: '#7468b3',
500: '#2d2f92',
950: '#000000',
},
}SCSS
$custom: #2d2f92; $custom-light: #7468b3; $custom-dark: #000000;
JSON
{
"hex": "#2d2f92",
"rgb": {
"r": 45,
"g": 47,
"b": 146
},
"hsl": {
"h": 238.812,
"s": 52.88,
"l": 37.451
},
"oklch": {
"l": 0.37336,
"c": 0.15857,
"h": 274.7
},
"luminance": 0.04666
}Semantic roles & 50–950 ramp
primary
#2D2F92
secondary
#B7B663
accent
#D94CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80