#2D2F90#2D2F90
#2D2F90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.156 H 274.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2F90 |
|---|---|
| RGB | rgb(45, 47, 144) |
| HSL | hsl(239, 52%, 37%) |
| HSV | hsv(239, 69%, 56%) |
| CMYK | cmyk(68.7%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(25.58, 31.68, -53.80) |
| CIE-LCH | lch(25.58, 62.44, 300.49°) |
| OKLab | oklab(37.15% 0.0132 -0.1553) |
| OKLCH | oklch(37.15% 0.156 274.9) |
| XYZ | xyz(7.1311, 4.6039, 26.8930) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.62
Darkslateblue
#483D8B
ΔE00 5.69
Blueberry
#464196
ΔE00 5.78
Royal
#0C1793
ΔE00 6.10
Midnight Blue
#191970
ΔE00 7.09
Indigo Blue
#3A18B1
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2F90 #908E2D
analogous
#2D6190 #2D2F90 #5D2D90
triadic
#2D2F90 #902D2F #2F902D
tetradic
#2D2F90 #902D61 #908E2D #2D905D
square
#2D2F90 #902D61 #908E2D #2D905D
split-complementary
#2D2F90 #905D2D #61902D
monochromatic
#101133 #1E2061 #2D2F90 #3C3EBF #686AD0
Accessibility & contrast
On white
10.93
#2D2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2D2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2F90
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2F90 | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d2f90; /* rgb */ color: rgb(45, 47, 144); /* oklch */ color: oklch(37.1% 0.156 274.9);
Tailwind
colors: {
custom: {
50: '#7468b1',
500: '#2d2f90',
950: '#000000',
},
}SCSS
$custom: #2d2f90; $custom-light: #7468b1; $custom-dark: #000000;
JSON
{
"hex": "#2d2f90",
"rgb": {
"r": 45,
"g": 47,
"b": 144
},
"hsl": {
"h": 238.788,
"s": 52.381,
"l": 37.059
},
"oklch": {
"l": 0.37145,
"c": 0.15587,
"h": 274.9
},
"luminance": 0.04605
}Semantic roles & 50–950 ramp
primary
#2D2F90
secondary
#B6B562
accent
#D94CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80