#2A2BAC#2A2BAC
#2A2BAC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.197 H 272.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BAC |
|---|---|
| RGB | rgb(42, 43, 172) |
| HSL | hsl(240, 61%, 42%) |
| HSV | hsv(240, 76%, 67%) |
| CMYK | cmyk(75.6%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(27.29, 43.50, -68.05) |
| CIE-LCH | lch(27.29, 80.76, 302.59°) |
| OKLab | oklab(39.17% 0.0079 -0.1969) |
| OKLCH | oklch(39.17% 0.197 272.3) |
| XYZ | xyz(9.2626, 5.1976, 39.5368) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.87
Indigo Blue
#3A18B1
ΔE00 4.12
True Blue
#010FCC
ΔE00 5.53
Royal
#0C1793
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 6.11
Ultramarine
#2000B1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BAC #ACAB2A
analogous
#2A6CAC #2A2BAC #6A2AAC
triadic
#2A2BAC #AC2A2B #2BAC2A
tetradic
#2A2BAC #AC2A6C #ACAB2A #2AAC6A
square
#2A2BAC #AC2A6C #ACAB2A #2AAC6A
split-complementary
#2A2BAC #AC6A2A #6CAC2A
monochromatic
#12124A #1E1F7B #2A2BAC #4243D1 #7374DD
Accessibility & contrast
On white
10.30
#2A2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2A2BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BAC
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BAC | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a2bac; /* rgb */ color: rgb(42, 43, 172); /* oklch */ color: oklch(39.2% 0.197 272.3);
Tailwind
colors: {
custom: {
50: '#7966c6',
500: '#2a2bac',
950: '#000000',
},
}SCSS
$custom: #2a2bac; $custom-light: #7966c6; $custom-dark: #000000;
JSON
{
"hex": "#2a2bac",
"rgb": {
"r": 42,
"g": 43,
"b": 172
},
"hsl": {
"h": 239.538,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.39168,
"c": 0.19711,
"h": 272.3
},
"luminance": 0.05199
}Semantic roles & 50–950 ramp
primary
#2A2BAC
secondary
#C4C46D
accent
#E344E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82