#2B2FAA#2B2FAA
#2B2FAA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.190 H 272.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FAA |
|---|---|
| RGB | rgb(43, 47, 170) |
| HSL | hsl(238, 60%, 42%) |
| HSV | hsv(238, 75%, 67%) |
| CMYK | cmyk(74.7%, 72.4%, 0%, 33.3%) |
| CIE-LAB | lab(27.97, 40.57, -65.71) |
| CIE-LCH | lch(27.97, 77.23, 301.69°) |
| OKLab | oklab(39.61% 0.0075 -0.1902) |
| OKLCH | oklch(39.61% 0.19 272.2) |
| XYZ | xyz(9.2660, 5.4479, 38.5856) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Indigo Blue
#3A18B1
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 6.43
True Blue
#010FCC
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 6.46
Royal
#0C1793
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FAA #AAA62B
analogous
#2B6FAA #2B2FAA #672BAA
triadic
#2B2FAA #AA2B2F #2FAA2B
tetradic
#2B2FAA #AA2B6F #AAA62B #2BAA67
square
#2B2FAA #AA2B6F #AAA62B #2BAA67
split-complementary
#2B2FAA #AA672B #6FAA2B
monochromatic
#121448 #1F2179 #2B2FAA #4347CF #7477DC
Accessibility & contrast
On white
10.05
#2B2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2B2FAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FAA
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FAA | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 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: #2b2faa; /* rgb */ color: rgb(43, 47, 170); /* oklch */ color: oklch(39.6% 0.190 272.2);
Tailwind
colors: {
custom: {
50: '#7969c4',
500: '#2b2faa',
950: '#000000',
},
}SCSS
$custom: #2b2faa; $custom-light: #7969c4; $custom-dark: #000000;
JSON
{
"hex": "#2b2faa",
"rgb": {
"r": 43,
"g": 47,
"b": 170
},
"hsl": {
"h": 238.11,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.39609,
"c": 0.1903,
"h": 272.2
},
"luminance": 0.05449
}Semantic roles & 50–950 ramp
primary
#2B2FAA
secondary
#C3C16E
accent
#DE45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82