#2B2EAF#2B2EAF
#2B2EAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.198 H 272.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2EAF |
|---|---|
| RGB | rgb(43, 46, 175) |
| HSL | hsl(239, 61%, 43%) |
| HSV | hsv(239, 75%, 69%) |
| CMYK | cmyk(75.4%, 73.7%, 0%, 31.4%) |
| CIE-LAB | lab(28.28, 42.87, -68.21) |
| CIE-LCH | lch(28.28, 80.56, 302.15°) |
| OKLab | oklab(39.98% 0.0072 -0.1974) |
| OKLCH | oklch(39.98% 0.198 272.1) |
| XYZ | xyz(9.7085, 5.5617, 41.1110) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Indigo Blue
#3A18B1
ΔE00 4.67
True Blue
#010FCC
ΔE00 5.84
Blue Blue
#2242C7
ΔE00 6.28
Ocean Blue
#4F42B5
ΔE00 6.42
Blue With A Hint Of Purple
#533CC6
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2EAF #AFAC2B
analogous
#2B70AF #2B2EAF #6A2BAF
triadic
#2B2EAF #AF2B2E #2EAF2B
tetradic
#2B2EAF #AF2B70 #AFAC2B #2BAF6A
square
#2B2EAF #AF2B70 #AFAC2B #2BAF6A
split-complementary
#2B2EAF #AF6A2B #70AF2B
monochromatic
#13144D #1F217E #2B2EAF #4649D1 #7779DE
Accessibility & contrast
On white
9.94
#2B2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2B2EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2EAF
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2EAF | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b2eaf; /* rgb */ color: rgb(43, 46, 175); /* oklch */ color: oklch(40.0% 0.198 272.1);
Tailwind
colors: {
custom: {
50: '#7a68c8',
500: '#2b2eaf',
950: '#000000',
},
}SCSS
$custom: #2b2eaf; $custom-light: #7a68c8; $custom-dark: #000000;
JSON
{
"hex": "#2b2eaf",
"rgb": {
"r": 43,
"g": 46,
"b": 175
},
"hsl": {
"h": 238.636,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.3998,
"c": 0.19756,
"h": 272.1
},
"luminance": 0.05563
}Semantic roles & 50–950 ramp
primary
#2B2EAF
secondary
#C5C370
accent
#E044E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82