#2B45A0#2B45A0
#2B45A0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.151 H 267.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45A0 |
|---|---|
| RGB | rgb(43, 69, 160) |
| HSL | hsl(227, 58%, 40%) |
| HSV | hsv(227, 73%, 63%) |
| CMYK | cmyk(73.1%, 56.9%, 0%, 37.3%) |
| CIE-LAB | lab(32.50, 22.74, -52.29) |
| CIE-LCH | lch(32.50, 57.02, 293.51°) |
| OKLab | oklab(42.66% -0.0066 -0.1507) |
| OKLCH | oklch(42.66% 0.151 267.5) |
| XYZ | xyz(9.4673, 7.3069, 34.1623) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.09
Cobalt (survey)
#1E488F
ΔE00 4.00
Sapphire (survey)
#2138AB
ΔE00 4.55
Blueberry
#464196
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.53
Sapphire
#0F52BA
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45A0 #A0862B
analogous
#2B7FA0 #2B45A0 #4C2BA0
triadic
#2B45A0 #A02B45 #45A02B
tetradic
#2B45A0 #A02B7F #A0862B #2BA04C
square
#2B45A0 #A02B7F #A0862B #2BA04C
split-complementary
#2B45A0 #A04C2B #7FA02B
monochromatic
#111B40 #1E3070 #2B45A0 #3D5DCB #6E85D8
Accessibility & contrast
On white
8.53
#2B45A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2B45A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45A0
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45A0 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b45a0; /* rgb */ color: rgb(43, 69, 160); /* oklch */ color: oklch(42.7% 0.151 267.5);
Tailwind
colors: {
custom: {
50: '#7578bd',
500: '#2b45a0',
950: '#000000',
},
}SCSS
$custom: #2b45a0; $custom-light: #7578bd; $custom-dark: #000000;
JSON
{
"hex": "#2b45a0",
"rgb": {
"r": 43,
"g": 69,
"b": 160
},
"hsl": {
"h": 226.667,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.42655,
"c": 0.15084,
"h": 267.5
},
"luminance": 0.07308
}Semantic roles & 50–950 ramp
primary
#2B45A0
secondary
#BFAC68
accent
#BF47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81