#2D2E7C#2D2E7C
#2D2E7C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.129 H 276.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2E7C |
|---|---|
| RGB | rgb(45, 46, 124) |
| HSL | hsl(239, 47%, 33%) |
| HSV | hsv(239, 64%, 49%) |
| CMYK | cmyk(63.7%, 62.9%, 0%, 51.4%) |
| CIE-LAB | lab(23.56, 25.14, -44.58) |
| CIE-LCH | lch(23.56, 51.19, 299.42°) |
| OKLab | oklab(35.12% 0.0155 -0.1283) |
| OKLCH | oklch(35.12% 0.129 276.9) |
| XYZ | xyz(5.6961, 3.9667, 19.5304) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.72
Midnight Blue
#191970
ΔE00 5.88
Blueberry
#464196
ΔE00 6.74
Sapphire (survey)
#2138AB
ΔE00 7.46
Royal
#0C1793
ΔE00 7.51
Marine
#042E60
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2E7C #7C7B2D
analogous
#2D557C #2D2E7C #532D7C
triadic
#2D2E7C #7C2D2E #2E7C2D
tetradic
#2D2E7C #7C2D55 #7C7B2D #2D7C53
square
#2D2E7C #7C2D55 #7C7B2D #2D7C53
split-complementary
#2D2E7C #7C532D #557C2D
monochromatic
#0C0D22 #1D1D4F #2D2E7C #3D3FA9 #5F60C5
Accessibility & contrast
On white
11.71
#2D2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2D2E7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2E7C
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2E7C | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2d2e7c; /* rgb */ color: rgb(45, 46, 124); /* oklch */ color: oklch(35.1% 0.129 276.9);
Tailwind
colors: {
custom: {
50: '#6f67a3',
500: '#2d2e7c',
950: '#000000',
},
}SCSS
$custom: #2d2e7c; $custom-light: #6f67a3; $custom-dark: #000000;
JSON
{
"hex": "#2d2e7c",
"rgb": {
"r": 45,
"g": 46,
"b": 124
},
"hsl": {
"h": 239.241,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.35124,
"c": 0.12919,
"h": 276.9
},
"luminance": 0.03967
}Semantic roles & 50–950 ramp
primary
#2D2E7C
secondary
#ABAA5A
accent
#D551D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F