#2B43A6#2B43A6
#2B43A6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.162 H 268.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2B43A6 |
|---|---|
| RGB | rgb(43, 67, 166) |
| HSL | hsl(228, 59%, 41%) |
| HSV | hsv(228, 74%, 65%) |
| CMYK | cmyk(74.1%, 59.6%, 0%, 34.9%) |
| CIE-LAB | lab(32.44, 26.35, -56.00) |
| CIE-LCH | lch(32.44, 61.89, 295.20°) |
| OKLab | oklab(42.76% -0.0049 -0.1616) |
| OKLCH | oklch(42.76% 0.162 268.3) |
| XYZ | xyz(9.8840, 7.2800, 36.9533) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.46
Sapphire (survey)
#2138AB
ΔE00 3.48
Blue Blue
#2242C7
ΔE00 4.49
Blueberry
#464196
ΔE00 5.02
Cobalt (survey)
#1E488F
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B43A6 #A68E2B
analogous
#2B80A6 #2B43A6 #502BA6
triadic
#2B43A6 #A62B43 #43A62B
tetradic
#2B43A6 #A62B80 #A68E2B #2BA650
square
#2B43A6 #A62B80 #A68E2B #2BA650
split-complementary
#2B43A6 #A6502B #80A62B
monochromatic
#121C45 #1E2F75 #2B43A6 #415CCE #7186DA
Accessibility & contrast
On white
8.55
#2B43A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2B43A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B43A6
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B43A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B43A6 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b43a6; /* rgb */ color: rgb(43, 67, 166); /* oklch */ color: oklch(42.8% 0.162 268.3);
Tailwind
colors: {
custom: {
50: '#7676c1',
500: '#2b43a6',
950: '#000000',
},
}SCSS
$custom: #2b43a6; $custom-light: #7676c1; $custom-dark: #000000;
JSON
{
"hex": "#2b43a6",
"rgb": {
"r": 43,
"g": 67,
"b": 166
},
"hsl": {
"h": 228.293,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.4276,
"c": 0.16168,
"h": 268.3
},
"luminance": 0.07281
}Semantic roles & 50–950 ramp
primary
#2B43A6
secondary
#C1B16B
accent
#C446E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81