#2B45A6#2B45A6
#2B45A6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.159 H 267.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45A6 |
|---|---|
| RGB | rgb(43, 69, 166) |
| HSL | hsl(227, 59%, 41%) |
| HSV | hsv(227, 74%, 65%) |
| CMYK | cmyk(74.1%, 58.4%, 0%, 34.9%) |
| CIE-LAB | lab(32.97, 25.02, -55.13) |
| CIE-LCH | lch(32.97, 60.54, 294.41°) |
| OKLab | oklab(43.16% -0.0064 -0.159) |
| OKLCH | oklch(43.16% 0.159 267.7) |
| XYZ | xyz(10.0049, 7.5219, 36.9936) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.04
Sapphire (survey)
#2138AB
ΔE00 4.13
Blue Blue
#2242C7
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 4.71
Blueberry
#464196
ΔE00 5.30
Sapphire
#0F52BA
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45A6 #A68C2B
analogous
#2B82A6 #2B45A6 #4E2BA6
triadic
#2B45A6 #A62B45 #45A62B
tetradic
#2B45A6 #A62B82 #A68C2B #2BA64E
square
#2B45A6 #A62B82 #A68C2B #2BA64E
split-complementary
#2B45A6 #A64E2B #82A62B
monochromatic
#121D45 #1E3175 #2B45A6 #415ECE #7187DA
Accessibility & contrast
On white
8.38
#2B45A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2B45A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45A6
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45A6 | 1.00 | 8.38 | 2.50 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b45a6; /* rgb */ color: rgb(43, 69, 166); /* oklch */ color: oklch(43.2% 0.159 267.7);
Tailwind
colors: {
custom: {
50: '#7678c1',
500: '#2b45a6',
950: '#000000',
},
}SCSS
$custom: #2b45a6; $custom-light: #7678c1; $custom-dark: #000000;
JSON
{
"hex": "#2b45a6",
"rgb": {
"r": 43,
"g": 69,
"b": 166
},
"hsl": {
"h": 227.317,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.43156,
"c": 0.15917,
"h": 267.7
},
"luminance": 0.07523
}Semantic roles & 50–950 ramp
primary
#2B45A6
secondary
#C1AF6B
accent
#C146E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81