#2B45B4#2B45B4
#2B45B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.178 H 268.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45B4 |
|---|---|
| RGB | rgb(43, 69, 180) |
| HSL | hsl(229, 61%, 44%) |
| HSV | hsv(229, 76%, 71%) |
| CMYK | cmyk(76.1%, 61.7%, 0%, 29.4%) |
| CIE-LAB | lab(34.12, 30.27, -61.60) |
| CIE-LCH | lch(34.12, 68.64, 296.17°) |
| OKLab | oklab(44.37% -0.0062 -0.178) |
| OKLCH | oklch(44.37% 0.178 268) |
| XYZ | xyz(11.3597, 8.0639, 44.1290) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.68
Cobalt
#0047AB
ΔE00 3.78
Sapphire (survey)
#2138AB
ΔE00 3.93
Ocean Blue
#4F42B5
ΔE00 5.25
Blue (survey)
#0343DF
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45B4 #B49A2B
analogous
#2B89B4 #2B45B4 #552BB4
triadic
#2B45B4 #B42B45 #45B42B
tetradic
#2B45B4 #B42B89 #B49A2B #2BB455
square
#2B45B4 #B42B89 #B49A2B #2BB455
split-complementary
#2B45B4 #B4552B #89B42B
monochromatic
#131F51 #1F3283 #2B45B4 #4963D3 #7A8DDF
Accessibility & contrast
On white
8.04
#2B45B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2B45B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45B4
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45B4 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b45b4; /* rgb */ color: rgb(43, 69, 180); /* oklch */ color: oklch(44.4% 0.178 268.0);
Tailwind
colors: {
custom: {
50: '#7978cb',
500: '#2b45b4',
950: '#000000',
},
}SCSS
$custom: #2b45b4; $custom-light: #7978cb; $custom-dark: #000000;
JSON
{
"hex": "#2b45b4",
"rgb": {
"r": 43,
"g": 69,
"b": 180
},
"hsl": {
"h": 228.613,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.4437,
"c": 0.17814,
"h": 268
},
"luminance": 0.08065
}Semantic roles & 50–950 ramp
primary
#2B45B4
secondary
#C7B773
accent
#C643E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82