#2A33AF#2A33AF
#2A33AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.193 H 271.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33AF |
|---|---|
| RGB | rgb(42, 51, 175) |
| HSL | hsl(236, 61%, 43%) |
| HSV | hsv(236, 76%, 69%) |
| CMYK | cmyk(76%, 70.9%, 0%, 31.4%) |
| CIE-LAB | lab(29.30, 39.80, -66.54) |
| CIE-LCH | lch(29.30, 77.53, 300.89°) |
| OKLab | oklab(40.69% 0.0036 -0.1926) |
| OKLCH | oklch(40.69% 0.193 271.1) |
| XYZ | xyz(9.8739, 5.9540, 41.1780) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.03
Blue Blue
#2242C7
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 5.71
Indigo Blue
#3A18B1
ΔE00 5.97
Blue With A Hint Of Purple
#533CC6
ΔE00 6.34
Blueberry
#464196
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33AF #AFA62A
analogous
#2A75AF #2A33AF #642AAF
triadic
#2A33AF #AF2A33 #33AF2A
tetradic
#2A33AF #AF2A75 #AFA62A #2AAF64
square
#2A33AF #AF2A75 #AFA62A #2AAF64
split-complementary
#2A33AF #AF642A #75AF2A
monochromatic
#12164C #1E257E #2A33AF #444ED2 #757CDE
Accessibility & contrast
On white
9.58
#2A33AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2A33AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33AF
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33AF | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a33af; /* rgb */ color: rgb(42, 51, 175); /* oklch */ color: oklch(40.7% 0.193 271.1);
Tailwind
colors: {
custom: {
50: '#796bc8',
500: '#2a33af',
950: '#000000',
},
}SCSS
$custom: #2a33af; $custom-light: #796bc8; $custom-dark: #000000;
JSON
{
"hex": "#2a33af",
"rgb": {
"r": 42,
"g": 51,
"b": 175
},
"hsl": {
"h": 235.94,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.40693,
"c": 0.19261,
"h": 271.1
},
"luminance": 0.05955
}Semantic roles & 50–950 ramp
primary
#2A33AF
secondary
#C6C06F
accent
#DA43E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82