#2D2DAF#2D2DAF
#2D2DAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.198 H 272.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2DAF |
|---|---|
| RGB | rgb(45, 45, 175) |
| HSL | hsl(240, 59%, 43%) |
| HSV | hsv(240, 74%, 69%) |
| CMYK | cmyk(74.3%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(28.19, 43.63, -68.35) |
| CIE-LCH | lch(28.19, 81.09, 302.55°) |
| OKLab | oklab(39.95% 0.0099 -0.1978) |
| OKLCH | oklch(39.95% 0.198 272.9) |
| XYZ | xyz(9.7558, 5.5288, 41.1021) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Indigo Blue
#3A18B1
ΔE00 4.34
True Blue
#010FCC
ΔE00 5.64
Ocean Blue
#4F42B5
ΔE00 6.48
Blue Blue
#2242C7
ΔE00 6.52
Royal
#0C1793
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2DAF #AFAF2D
analogous
#2D6EAF #2D2DAF #6E2DAF
triadic
#2D2DAF #AF2D2D #2DAF2D
tetradic
#2D2DAF #AF2D6E #AFAF2D #2DAF6E
square
#2D2DAF #AF2D6E #AFAF2D #2DAF6E
split-complementary
#2D2DAF #AF6E2D #6EAF2D
monochromatic
#14144E #20207E #2D2DAF #4949D0 #7A7ADD
Accessibility & contrast
On white
9.97
#2D2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2D2DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2DAF
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2DAF | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2d2daf; /* rgb */ color: rgb(45, 45, 175); /* oklch */ color: oklch(39.9% 0.198 272.9);
Tailwind
colors: {
custom: {
50: '#7b68c8',
500: '#2d2daf',
950: '#000000',
},
}SCSS
$custom: #2d2daf; $custom-light: #7b68c8; $custom-dark: #000000;
JSON
{
"hex": "#2d2daf",
"rgb": {
"r": 45,
"g": 45,
"b": 175
},
"hsl": {
"h": 240,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.39949,
"c": 0.19803,
"h": 272.9
},
"luminance": 0.0553
}Semantic roles & 50–950 ramp
primary
#2D2DAF
secondary
#C5C573
accent
#E246E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82