#2B46A8#2B46A8
#2B46A8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.161 H 267.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B46A8 |
|---|---|
| RGB | rgb(43, 70, 168) |
| HSL | hsl(227, 59%, 41%) |
| HSV | hsv(227, 74%, 66%) |
| CMYK | cmyk(74.4%, 58.3%, 0%, 34.1%) |
| CIE-LAB | lab(33.39, 25.11, -55.64) |
| CIE-LCH | lch(33.39, 61.04, 294.29°) |
| OKLab | oklab(43.53% -0.0071 -0.1605) |
| OKLCH | oklch(43.53% 0.161 267.5) |
| XYZ | xyz(10.2518, 7.7200, 37.9880) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.90
Sapphire (survey)
#2138AB
ΔE00 4.37
Blue Blue
#2242C7
ΔE00 4.48
Cobalt (survey)
#1E488F
ΔE00 4.77
Sapphire
#0F52BA
ΔE00 5.14
Blueberry
#464196
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B46A8 #A88D2B
analogous
#2B85A8 #2B46A8 #4F2BA8
triadic
#2B46A8 #A82B46 #46A82B
tetradic
#2B46A8 #A82B85 #A88D2B #2BA84F
square
#2B46A8 #A82B85 #A88D2B #2BA84F
split-complementary
#2B46A8 #A84F2B #85A82B
monochromatic
#121D47 #1F3277 #2B46A8 #4260CF #7289DB
Accessibility & contrast
On white
8.25
#2B46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2B46A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B46A8
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B46A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B46A8 | 1.00 | 8.25 | 2.54 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b46a8; /* rgb */ color: rgb(43, 70, 168); /* oklch */ color: oklch(43.5% 0.161 267.5);
Tailwind
colors: {
custom: {
50: '#7679c3',
500: '#2b46a8',
950: '#000000',
},
}SCSS
$custom: #2b46a8; $custom-light: #7679c3; $custom-dark: #000000;
JSON
{
"hex": "#2b46a8",
"rgb": {
"r": 43,
"g": 70,
"b": 168
},
"hsl": {
"h": 227.04,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.43525,
"c": 0.16067,
"h": 267.5
},
"luminance": 0.07721
}Semantic roles & 50–950 ramp
primary
#2B46A8
secondary
#C2B06C
accent
#C145E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81