#2B54B1#2B54B1
#2B54B1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.156 H 263.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2B54B1 |
|---|---|
| RGB | rgb(43, 84, 177) |
| HSL | hsl(222, 61%, 43%) |
| HSV | hsv(222, 76%, 69%) |
| CMYK | cmyk(75.7%, 52.5%, 0%, 30.6%) |
| CIE-LAB | lab(37.89, 19.24, -53.69) |
| CIE-LCH | lch(37.89, 57.03, 289.71°) |
| OKLab | oklab(47.13% -0.0173 -0.1545) |
| OKLCH | oklch(47.13% 0.156 263.6) |
| XYZ | xyz(12.0996, 10.0272, 42.8842) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.81
Cobalt
#0047AB
ΔE00 4.36
Denim Blue
#3B5B92
ΔE00 4.74
Dusk Blue
#26538D
ΔE00 5.06
Denim
#1560BD
ΔE00 5.09
Cobalt (survey)
#1E488F
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B54B1 #B1882B
analogous
#2B97B1 #2B54B1 #452BB1
triadic
#2B54B1 #B12B54 #54B12B
tetradic
#2B54B1 #B12B97 #B1882B #2BB145
square
#2B54B1 #B12B97 #B1882B #2BB145
split-complementary
#2B54B1 #B1452B #97B12B
monochromatic
#13254F #1F3D80 #2B54B1 #4772D2 #7897DE
Accessibility & contrast
On white
6.99
#2B54B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2B54B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B54B1
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B54B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B54B1 | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1460B4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2b54b1; /* rgb */ color: rgb(43, 84, 177); /* oklch */ color: oklch(47.1% 0.156 263.6);
Tailwind
colors: {
custom: {
50: '#7883c9',
500: '#2b54b1',
950: '#000000',
},
}SCSS
$custom: #2b54b1; $custom-light: #7883c9; $custom-dark: #000000;
JSON
{
"hex": "#2b54b1",
"rgb": {
"r": 43,
"g": 84,
"b": 177
},
"hsl": {
"h": 221.642,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.47132,
"c": 0.15551,
"h": 263.6
},
"luminance": 0.10029
}Semantic roles & 50–950 ramp
primary
#2B54B1
secondary
#C6AC72
accent
#B344E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82