#2B45AA#2B45AA
#2B45AA is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.165 H 267.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45AA |
|---|---|
| RGB | rgb(43, 69, 170) |
| HSL | hsl(228, 60%, 42%) |
| HSV | hsv(228, 75%, 67%) |
| CMYK | cmyk(74.7%, 59.4%, 0%, 33.3%) |
| CIE-LAB | lab(33.29, 26.53, -57.00) |
| CIE-LCH | lch(33.29, 62.87, 294.96°) |
| OKLab | oklab(43.5% -0.0063 -0.1645) |
| OKLCH | oklch(43.5% 0.165 267.8) |
| XYZ | xyz(10.3776, 7.6710, 38.9561) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.14
Sapphire (survey)
#2138AB
ΔE00 3.96
Blue Blue
#2242C7
ΔE00 4.07
Cobalt (survey)
#1E488F
ΔE00 5.21
Sapphire
#0F52BA
ΔE00 5.39
Blueberry
#464196
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45AA #AA902B
analogous
#2B84AA #2B45AA #512BAA
triadic
#2B45AA #AA2B45 #45AA2B
tetradic
#2B45AA #AA2B84 #AA902B #2BAA51
square
#2B45AA #AA2B84 #AA902B #2BAA51
split-complementary
#2B45AA #AA512B #84AA2B
monochromatic
#121D48 #1F3179 #2B45AA #4360CF #7489DC
Accessibility & contrast
On white
8.29
#2B45AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2B45AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45AA
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45AA | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b45aa; /* rgb */ color: rgb(43, 69, 170); /* oklch */ color: oklch(43.5% 0.165 267.8);
Tailwind
colors: {
custom: {
50: '#7778c4',
500: '#2b45aa',
950: '#000000',
},
}SCSS
$custom: #2b45aa; $custom-light: #7778c4; $custom-dark: #000000;
JSON
{
"hex": "#2b45aa",
"rgb": {
"r": 43,
"g": 69,
"b": 170
},
"hsl": {
"h": 227.717,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.43497,
"c": 0.16466,
"h": 267.8
},
"luminance": 0.07672
}Semantic roles & 50–950 ramp
primary
#2B45AA
secondary
#C3B26E
accent
#C245E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82