#2B54C1#2B54C1
#2B54C1 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.177 H 264.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2B54C1 |
|---|---|
| RGB | rgb(43, 84, 193) |
| HSL | hsl(224, 64%, 46%) |
| HSV | hsv(224, 78%, 76%) |
| CMYK | cmyk(77.7%, 56.5%, 0%, 24.3%) |
| CIE-LAB | lab(39.08, 25.33, -61.15) |
| CIE-LCH | lch(39.08, 66.19, 292.50°) |
| OKLab | oklab(48.4% -0.016 -0.1765) |
| OKLCH | oklch(48.4% 0.177 264.8) |
| XYZ | xyz(13.7888, 10.7029, 51.7809) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.41
Cobalt
#0047AB
ΔE00 5.31
Denim
#1560BD
ΔE00 5.51
Warm Blue
#4B57DB
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 5.77
Azul
#1D5DEC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B54C1 #C1982B
analogous
#2B9FC1 #2B54C1 #4D2BC1
triadic
#2B54C1 #C12B54 #54C12B
tetradic
#2B54C1 #C12B9F #C1982B #2BC14D
square
#2B54C1 #C12B9F #C1982B #2BC14D
split-complementary
#2B54C1 #C14D2B #9FC12B
monochromatic
#15285D #203E8F #2B54C1 #5176D8 #839DE3
Accessibility & contrast
On white
6.69
#2B54C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2B54C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B54C1
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B54C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B54C1 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b54c1; /* rgb */ color: rgb(43, 84, 193); /* oklch */ color: oklch(48.4% 0.177 264.8);
Tailwind
colors: {
custom: {
50: '#7b83d5',
500: '#2b54c1',
950: '#000000',
},
}SCSS
$custom: #2b54c1; $custom-light: #7b83d5; $custom-dark: #000000;
JSON
{
"hex": "#2b54c1",
"rgb": {
"r": 43,
"g": 84,
"b": 193
},
"hsl": {
"h": 223.6,
"s": 63.559,
"l": 46.275
},
"oklch": {
"l": 0.48401,
"c": 0.17722,
"h": 264.8
},
"luminance": 0.10704
}Semantic roles & 50–950 ramp
primary
#2B54C1
secondary
#CCB67B
accent
#B941E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83