#2B34A6#2B34A6
#2B34A6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.180 H 271.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2B34A6 |
|---|---|
| RGB | rgb(43, 52, 166) |
| HSL | hsl(236, 59%, 41%) |
| HSV | hsv(236, 74%, 65%) |
| CMYK | cmyk(74.1%, 68.7%, 0%, 34.9%) |
| CIE-LAB | lab(28.70, 36.11, -62.11) |
| CIE-LCH | lch(28.70, 71.84, 300.17°) |
| OKLab | oklab(40.01% 0.0052 -0.1796) |
| OKLCH | oklch(40.01% 0.18 271.7) |
| XYZ | xyz(9.1049, 5.7218, 36.6936) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.70
Blueberry
#464196
ΔE00 5.60
Blue Blue
#2242C7
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 5.98
Indigo Blue
#3A18B1
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B34A6 #A69D2B
analogous
#2B71A6 #2B34A6 #5F2BA6
triadic
#2B34A6 #A62B34 #34A62B
tetradic
#2B34A6 #A62B71 #A69D2B #2BA65F
square
#2B34A6 #A62B71 #A69D2B #2BA65F
split-complementary
#2B34A6 #A65F2B #71A62B
monochromatic
#121645 #1E2575 #2B34A6 #414BCE #7179DA
Accessibility & contrast
On white
9.79
#2B34A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2B34A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B34A6
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B34A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B34A6 | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b34a6; /* rgb */ color: rgb(43, 52, 166); /* oklch */ color: oklch(40.0% 0.180 271.7);
Tailwind
colors: {
custom: {
50: '#776cc1',
500: '#2b34a6',
950: '#000000',
},
}SCSS
$custom: #2b34a6; $custom-light: #776cc1; $custom-dark: #000000;
JSON
{
"hex": "#2b34a6",
"rgb": {
"r": 43,
"g": 52,
"b": 166
},
"hsl": {
"h": 235.61,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.40012,
"c": 0.17972,
"h": 271.7
},
"luminance": 0.05723
}Semantic roles & 50–950 ramp
primary
#2B34A6
secondary
#C1BB6B
accent
#D746E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81