#2D2FB0#2D2FB0
#2D2FB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.197 H 272.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2FB0 |
|---|---|
| RGB | rgb(45, 47, 176) |
| HSL | hsl(239, 59%, 43%) |
| HSV | hsv(239, 74%, 69%) |
| CMYK | cmyk(74.4%, 73.3%, 0%, 31%) |
| CIE-LAB | lab(28.71, 42.81, -68.10) |
| CIE-LCH | lch(28.71, 80.44, 302.16°) |
| OKLab | oklab(40.35% 0.0088 -0.1971) |
| OKLCH | oklch(40.35% 0.197 272.6) |
| XYZ | xyz(9.9325, 5.7245, 41.6473) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Indigo Blue
#3A18B1
ΔE00 4.80
True Blue
#010FCC
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.03
Ocean Blue
#4F42B5
ΔE00 6.10
Blue With A Hint Of Purple
#533CC6
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2FB0 #B0AE2D
analogous
#2D70B0 #2D2FB0 #6C2DB0
triadic
#2D2FB0 #B02D2F #2FB02D
tetradic
#2D2FB0 #B02D70 #B0AE2D #2DB06C
square
#2D2FB0 #B02D70 #B0AE2D #2DB06C
split-complementary
#2D2FB0 #B06C2D #70B02D
monochromatic
#14154F #21227F #2D2FB0 #4A4CD1 #7A7CDD
Accessibility & contrast
On white
9.79
#2D2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2D2FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2FB0
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2FB0 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2d2fb0; /* rgb */ color: rgb(45, 47, 176); /* oklch */ color: oklch(40.3% 0.197 272.6);
Tailwind
colors: {
custom: {
50: '#7b69c9',
500: '#2d2fb0',
950: '#000000',
},
}SCSS
$custom: #2d2fb0; $custom-light: #7b69c9; $custom-dark: #000000;
JSON
{
"hex": "#2d2fb0",
"rgb": {
"r": 45,
"g": 47,
"b": 176
},
"hsl": {
"h": 239.084,
"s": 59.276,
"l": 43.333
},
"oklch": {
"l": 0.40347,
"c": 0.19726,
"h": 272.6
},
"luminance": 0.05726
}Semantic roles & 50–950 ramp
primary
#2D2FB0
secondary
#C5C473
accent
#E045E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82