#2B46A6#2B46A6
#2B46A6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.158 H 267.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2B46A6 |
|---|---|
| RGB | rgb(43, 70, 166) |
| HSL | hsl(227, 59%, 41%) |
| HSV | hsv(227, 74%, 65%) |
| CMYK | cmyk(74.1%, 57.8%, 0%, 34.9%) |
| CIE-LAB | lab(33.23, 24.35, -54.70) |
| CIE-LCH | lch(33.23, 59.87, 294.00°) |
| OKLab | oklab(43.36% -0.0071 -0.1577) |
| OKLCH | oklch(43.36% 0.158 267.4) |
| XYZ | xyz(10.0670, 7.6460, 37.0143) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.86
Sapphire (survey)
#2138AB
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 4.52
Blue Blue
#2242C7
ΔE00 4.76
Sapphire
#0F52BA
ΔE00 5.21
Blueberry
#464196
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B46A6 #A68B2B
analogous
#2B83A6 #2B46A6 #4D2BA6
triadic
#2B46A6 #A62B46 #46A62B
tetradic
#2B46A6 #A62B83 #A68B2B #2BA64D
square
#2B46A6 #A62B83 #A68B2B #2BA64D
split-complementary
#2B46A6 #A64D2B #83A62B
monochromatic
#121D45 #1E3275 #2B46A6 #4160CE #7188DA
Accessibility & contrast
On white
8.30
#2B46A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2B46A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B46A6
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B46A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B46A6 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b46a6; /* rgb */ color: rgb(43, 70, 166); /* oklch */ color: oklch(43.4% 0.158 267.4);
Tailwind
colors: {
custom: {
50: '#7679c1',
500: '#2b46a6',
950: '#000000',
},
}SCSS
$custom: #2b46a6; $custom-light: #7679c1; $custom-dark: #000000;
JSON
{
"hex": "#2b46a6",
"rgb": {
"r": 43,
"g": 70,
"b": 166
},
"hsl": {
"h": 226.829,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.43357,
"c": 0.15791,
"h": 267.4
},
"luminance": 0.07647
}Semantic roles & 50–950 ramp
primary
#2B46A6
secondary
#C1AF6B
accent
#C046E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81