#2D2CAC#2D2CAC
#2D2CAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.195 H 273.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2CAC |
|---|---|
| RGB | rgb(45, 44, 172) |
| HSL | hsl(240, 59%, 42%) |
| HSV | hsv(240, 74%, 67%) |
| CMYK | cmyk(73.8%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(27.67, 43.20, -67.41) |
| CIE-LCH | lch(27.67, 80.06, 302.65°) |
| OKLab | oklab(39.49% 0.011 -0.195) |
| OKLCH | oklch(39.49% 0.195 273.2) |
| XYZ | xyz(9.4268, 5.3368, 39.5550) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Indigo Blue
#3A18B1
ΔE00 4.19
True Blue
#010FCC
ΔE00 5.70
Royal
#0C1793
ΔE00 6.15
Cobalt Blue
#030AA7
ΔE00 6.38
Ultramarine
#2000B1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2CAC #ABAC2C
analogous
#2C6BAC #2D2CAC #6D2CAC
triadic
#2D2CAC #AC2D2C #2CAC2D
tetradic
#2D2CAC #AC2C6B #ABAC2C #2CAC6D
square
#2D2CAC #AC2C6B #ABAC2C #2CAC6D
split-complementary
#2D2CAC #AC6D2C #6BAC2C
monochromatic
#14134B #20207B #2D2CAC #4746D0 #7776DC
Accessibility & contrast
On white
10.16
#2D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2D2CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2CAC
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2CAC | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d2cac; /* rgb */ color: rgb(45, 44, 172); /* oklch */ color: oklch(39.5% 0.195 273.2);
Tailwind
colors: {
custom: {
50: '#7a67c6',
500: '#2d2cac',
950: '#000000',
},
}SCSS
$custom: #2d2cac; $custom-light: #7a67c6; $custom-dark: #000000;
JSON
{
"hex": "#2d2cac",
"rgb": {
"r": 45,
"g": 44,
"b": 172
},
"hsl": {
"h": 240.469,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.39488,
"c": 0.19534,
"h": 273.2
},
"luminance": 0.05338
}Semantic roles & 50–950 ramp
primary
#2D2CAC
secondary
#C3C470
accent
#E245E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82