#2A2FBD#2A2FBD
#2A2FBD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.214 H 270.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2FBD |
|---|---|
| RGB | rgb(42, 47, 189) |
| HSL | hsl(238, 64%, 45%) |
| HSV | hsv(238, 78%, 74%) |
| CMYK | cmyk(77.8%, 75.1%, 0%, 25.9%) |
| CIE-LAB | lab(29.91, 46.91, -73.85) |
| CIE-LCH | lch(29.91, 87.49, 302.43°) |
| OKLab | oklab(41.56% 0.0033 -0.2138) |
| OKLCH | oklch(41.56% 0.214 270.9) |
| XYZ | xyz(11.1535, 6.1982, 48.7428) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.90
Indigo Blue
#3A18B1
ΔE00 5.01
True Blue
#010FCC
ΔE00 5.30
Blue Blue
#2242C7
ΔE00 5.33
Blue With A Hint Of Purple
#533CC6
ΔE00 5.59
Blurple
#5539CC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2FBD #BDB82A
analogous
#2A79BD #2A2FBD #6E2ABD
triadic
#2A2FBD #BD2A2F #2FBD2A
tetradic
#2A2FBD #BD2A79 #BDB82A #2ABD6E
square
#2A2FBD #BD2A79 #BDB82A #2ABD6E
split-complementary
#2A2FBD #BD6E2A #79BD2A
monochromatic
#141659 #1F238B #2A2FBD #4D52D7 #7F82E3
Accessibility & contrast
On white
9.38
#2A2FBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2A2FBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2FBD
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2FBD | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#003FBB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a2fbd; /* rgb */ color: rgb(42, 47, 189); /* oklch */ color: oklch(41.6% 0.214 270.9);
Tailwind
colors: {
custom: {
50: '#7d69d2',
500: '#2a2fbd',
950: '#000000',
},
}SCSS
$custom: #2a2fbd; $custom-light: #7d69d2; $custom-dark: #000000;
JSON
{
"hex": "#2a2fbd",
"rgb": {
"r": 42,
"g": 47,
"b": 189
},
"hsl": {
"h": 237.959,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.41561,
"c": 0.21387,
"h": 270.9
},
"luminance": 0.06199
}Semantic roles & 50–950 ramp
primary
#2A2FBD
secondary
#CBC878
accent
#E141E7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83