#2A54B0#2A54B0
#2A54B0 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.154 H 263.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A54B0 |
|---|---|
| RGB | rgb(42, 84, 176) |
| HSL | hsl(221, 61%, 43%) |
| HSV | hsv(221, 76%, 69%) |
| CMYK | cmyk(76.1%, 52.3%, 0%, 31%) |
| CIE-LAB | lab(37.78, 18.73, -53.28) |
| CIE-LCH | lch(37.78, 56.47, 289.37°) |
| OKLab | oklab(47.02% -0.0182 -0.1533) |
| OKLCH | oklch(47.02% 0.154 263.2) |
| XYZ | xyz(11.9588, 9.9661, 42.3593) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.78
Cobalt
#0047AB
ΔE00 4.31
Denim Blue
#3B5B92
ΔE00 4.63
Dusk Blue
#26538D
ΔE00 4.87
Denim
#1560BD
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A54B0 #B0862A
analogous
#2A97B0 #2A54B0 #432AB0
triadic
#2A54B0 #B02A54 #54B02A
tetradic
#2A54B0 #B02A97 #B0862A #2AB043
square
#2A54B0 #B02A97 #B0862A #2AB043
split-complementary
#2A54B0 #B0432A #97B02A
monochromatic
#12254D #1E3C7F #2A54B0 #4571D3 #7697DE
Accessibility & contrast
On white
7.02
#2A54B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2A54B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A54B0
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A54B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A54B0 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165FB3
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a54b0; /* rgb */ color: rgb(42, 84, 176); /* oklch */ color: oklch(47.0% 0.154 263.2);
Tailwind
colors: {
custom: {
50: '#7783c8',
500: '#2a54b0',
950: '#000000',
},
}SCSS
$custom: #2a54b0; $custom-light: #7783c8; $custom-dark: #000000;
JSON
{
"hex": "#2a54b0",
"rgb": {
"r": 42,
"g": 84,
"b": 176
},
"hsl": {
"h": 221.194,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.47015,
"c": 0.15442,
"h": 263.2
},
"luminance": 0.09967
}Semantic roles & 50–950 ramp
primary
#2A54B0
secondary
#C6AB70
accent
#B243E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82