#2D2FAA#2D2FAA
#2D2FAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.190 H 272.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2FAA |
|---|---|
| RGB | rgb(45, 47, 170) |
| HSL | hsl(239, 58%, 42%) |
| HSV | hsv(239, 74%, 67%) |
| CMYK | cmyk(73.5%, 72.4%, 0%, 33.3%) |
| CIE-LAB | lab(28.09, 40.77, -65.51) |
| CIE-LCH | lch(28.09, 77.16, 301.90°) |
| OKLab | oklab(39.73% 0.0098 -0.1895) |
| OKLCH | oklch(39.73% 0.19 272.9) |
| XYZ | xyz(9.3520, 5.4922, 38.5897) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Indigo Blue
#3A18B1
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 6.34
True Blue
#010FCC
ΔE00 6.44
Blue Blue
#2242C7
ΔE00 6.46
Royal
#0C1793
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2FAA #AAA82D
analogous
#2D6EAA #2D2FAA #6A2DAA
triadic
#2D2FAA #AA2D2F #2FAA2D
tetradic
#2D2FAA #AA2D6E #AAA82D #2DAA6A
square
#2D2FAA #AA2D6E #AAA82D #2DAA6A
split-complementary
#2D2FAA #AA6A2D #6EAA2D
monochromatic
#131449 #20227A #2D2FAA #4648CE #7778DB
Accessibility & contrast
On white
10.01
#2D2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2D2FAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2FAA
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2FAA | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2d2faa; /* rgb */ color: rgb(45, 47, 170); /* oklch */ color: oklch(39.7% 0.190 272.9);
Tailwind
colors: {
custom: {
50: '#7a69c4',
500: '#2d2faa',
950: '#000000',
},
}SCSS
$custom: #2d2faa; $custom-light: #7a69c4; $custom-dark: #000000;
JSON
{
"hex": "#2d2faa",
"rgb": {
"r": 45,
"g": 47,
"b": 170
},
"hsl": {
"h": 239.04,
"s": 58.14,
"l": 42.157
},
"oklch": {
"l": 0.39726,
"c": 0.18978,
"h": 272.9
},
"luminance": 0.05493
}Semantic roles & 50–950 ramp
primary
#2D2FAA
secondary
#C3C170
accent
#DF46E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82