#2A54B4#2A54B4
#2A54B4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.160 H 263.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A54B4 |
|---|---|
| RGB | rgb(42, 84, 180) |
| HSL | hsl(222, 62%, 44%) |
| HSV | hsv(222, 77%, 71%) |
| CMYK | cmyk(76.7%, 53.3%, 0%, 29.4%) |
| CIE-LAB | lab(38.07, 20.26, -55.17) |
| CIE-LCH | lch(38.07, 58.77, 290.17°) |
| OKLab | oklab(47.32% -0.0177 -0.1589) |
| OKLCH | oklch(47.32% 0.16 263.6) |
| XYZ | xyz(12.3605, 10.1268, 44.4744) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.64
Cobalt
#0047AB
ΔE00 4.43
Denim
#1560BD
ΔE00 5.05
Denim Blue
#3B5B92
ΔE00 5.05
Dusk Blue
#26538D
ΔE00 5.39
Cobalt (survey)
#1E488F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A54B4 #B48A2A
analogous
#2A99B4 #2A54B4 #452AB4
triadic
#2A54B4 #B42A54 #54B42A
tetradic
#2A54B4 #B42A99 #B48A2A #2AB445
square
#2A54B4 #B42A99 #B48A2A #2AB445
split-complementary
#2A54B4 #B4452A #99B42A
monochromatic
#132651 #1E3D82 #2A54B4 #4772D4 #7998E0
Accessibility & contrast
On white
6.94
#2A54B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2A54B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A54B4
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A54B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A54B4 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B60B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a54b4; /* rgb */ color: rgb(42, 84, 180); /* oklch */ color: oklch(47.3% 0.160 263.6);
Tailwind
colors: {
custom: {
50: '#7883cb',
500: '#2a54b4',
950: '#000000',
},
}SCSS
$custom: #2a54b4; $custom-light: #7883cb; $custom-dark: #000000;
JSON
{
"hex": "#2a54b4",
"rgb": {
"r": 42,
"g": 84,
"b": 180
},
"hsl": {
"h": 221.739,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.47324,
"c": 0.15992,
"h": 263.6
},
"luminance": 0.10128
}Semantic roles & 50–950 ramp
primary
#2A54B4
secondary
#C8AE72
accent
#B443E5
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82