#2D2CAF#2D2CAF
#2D2CAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.199 H 273.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2CAF |
|---|---|
| RGB | rgb(45, 44, 175) |
| HSL | hsl(240, 60%, 43%) |
| HSV | hsv(240, 75%, 69%) |
| CMYK | cmyk(74.3%, 74.9%, 0%, 31.4%) |
| CIE-LAB | lab(27.99, 44.19, -68.69) |
| CIE-LCH | lch(27.99, 81.67, 302.76°) |
| OKLab | oklab(39.81% 0.0104 -0.1987) |
| OKLCH | oklch(39.81% 0.199 273) |
| XYZ | xyz(9.7181, 5.4534, 41.0896) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.83
Indigo Blue
#3A18B1
ΔE00 4.11
True Blue
#010FCC
ΔE00 5.46
Mediumblue
#0000CD
ΔE00 6.38
Royal
#0C1793
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2CAF #AEAF2C
analogous
#2C6CAF #2D2CAF #6E2CAF
triadic
#2D2CAF #AF2D2C #2CAF2D
tetradic
#2D2CAF #AF2C6C #AEAF2C #2CAF6E
square
#2D2CAF #AF2C6C #AEAF2C #2CAF6E
split-complementary
#2D2CAF #AF6E2C #6CAF2C
monochromatic
#14134D #20207E #2D2CAF #4847D1 #7978DD
Accessibility & contrast
On white
10.04
#2D2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2D2CAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2CAF
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2CAF | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2d2caf; /* rgb */ color: rgb(45, 44, 175); /* oklch */ color: oklch(39.8% 0.199 273.0);
Tailwind
colors: {
custom: {
50: '#7b67c8',
500: '#2d2caf',
950: '#000000',
},
}SCSS
$custom: #2d2caf; $custom-light: #7b67c8; $custom-dark: #000000;
JSON
{
"hex": "#2d2caf",
"rgb": {
"r": 45,
"g": 44,
"b": 175
},
"hsl": {
"h": 240.458,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.39806,
"c": 0.19902,
"h": 273
},
"luminance": 0.05454
}Semantic roles & 50–950 ramp
primary
#2D2CAF
secondary
#C4C572
accent
#E345E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82