#2B45A3#2B45A3
#2B45A3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.155 H 267.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45A3 |
|---|---|
| RGB | rgb(43, 69, 163) |
| HSL | hsl(227, 58%, 40%) |
| HSV | hsv(227, 74%, 64%) |
| CMYK | cmyk(73.6%, 57.7%, 0%, 36.1%) |
| CIE-LAB | lab(32.73, 23.88, -53.72) |
| CIE-LCH | lch(32.73, 58.78, 293.97°) |
| OKLab | oklab(42.9% -0.0065 -0.1549) |
| OKLCH | oklch(42.9% 0.155 267.6) |
| XYZ | xyz(9.7329, 7.4132, 35.5612) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.03
Sapphire (survey)
#2138AB
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 4.35
Blue Blue
#2242C7
ΔE00 5.09
Blueberry
#464196
ΔE00 5.23
Sapphire
#0F52BA
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45A3 #A3892B
analogous
#2B81A3 #2B45A3 #4D2BA3
triadic
#2B45A3 #A32B45 #45A32B
tetradic
#2B45A3 #A32B81 #A3892B #2BA34D
square
#2B45A3 #A32B81 #A3892B #2BA34D
split-complementary
#2B45A3 #A34D2B #81A32B
monochromatic
#111C42 #1E3173 #2B45A3 #3F5ECC #6F86D9
Accessibility & contrast
On white
8.46
#2B45A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2B45A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45A3
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45A3 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b45a3; /* rgb */ color: rgb(43, 69, 163); /* oklch */ color: oklch(42.9% 0.155 267.6);
Tailwind
colors: {
custom: {
50: '#7578bf',
500: '#2b45a3',
950: '#000000',
},
}SCSS
$custom: #2b45a3; $custom-light: #7578bf; $custom-dark: #000000;
JSON
{
"hex": "#2b45a3",
"rgb": {
"r": 43,
"g": 69,
"b": 163
},
"hsl": {
"h": 227,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.42904,
"c": 0.15502,
"h": 267.6
},
"luminance": 0.07414
}Semantic roles & 50–950 ramp
primary
#2B45A3
secondary
#C0AD6A
accent
#C046E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81