#2D2F91#2D2F91
#2D2F91 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.157 H 274.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2F91 |
|---|---|
| RGB | rgb(45, 47, 145) |
| HSL | hsl(239, 53%, 37%) |
| HSV | hsv(239, 69%, 57%) |
| CMYK | cmyk(69%, 67.6%, 0%, 43.1%) |
| CIE-LAB | lab(25.67, 32.04, -54.27) |
| CIE-LCH | lch(25.67, 63.02, 300.55°) |
| OKLab | oklab(37.24% 0.0131 -0.1567) |
| OKLCH | oklch(37.24% 0.157 274.8) |
| XYZ | xyz(7.2078, 4.6346, 27.2973) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Darkslateblue
#483D8B
ΔE00 5.73
Blueberry
#464196
ΔE00 5.78
Royal
#0C1793
ΔE00 6.06
Indigo Blue
#3A18B1
ΔE00 7.13
Midnight Blue
#191970
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2F91 #918F2D
analogous
#2D6191 #2D2F91 #5D2D91
triadic
#2D2F91 #912D2F #2F912D
tetradic
#2D2F91 #912D61 #918F2D #2D915D
square
#2D2F91 #912D61 #918F2D #2D915D
split-complementary
#2D2F91 #915D2D #61912D
monochromatic
#101134 #1F2062 #2D2F91 #3B3EC0 #686AD0
Accessibility & contrast
On white
10.90
#2D2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2D2F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2F91
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2F91 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d2f91; /* rgb */ color: rgb(45, 47, 145); /* oklch */ color: oklch(37.2% 0.157 274.8);
Tailwind
colors: {
custom: {
50: '#7468b2',
500: '#2d2f91',
950: '#000000',
},
}SCSS
$custom: #2d2f91; $custom-light: #7468b2; $custom-dark: #000000;
JSON
{
"hex": "#2d2f91",
"rgb": {
"r": 45,
"g": 47,
"b": 145
},
"hsl": {
"h": 238.8,
"s": 52.632,
"l": 37.255
},
"oklch": {
"l": 0.37241,
"c": 0.15722,
"h": 274.8
},
"luminance": 0.04635
}Semantic roles & 50–950 ramp
primary
#2D2F91
secondary
#B7B563
accent
#D94CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80