#2A54B3#2A54B3
#2A54B3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.159 H 263.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A54B3 |
|---|---|
| RGB | rgb(42, 84, 179) |
| HSL | hsl(222, 62%, 43%) |
| HSV | hsv(222, 77%, 70%) |
| CMYK | cmyk(76.5%, 53.1%, 0%, 29.8%) |
| CIE-LAB | lab(38.00, 19.88, -54.70) |
| CIE-LCH | lch(38.00, 58.20, 289.97°) |
| OKLab | oklab(47.25% -0.0178 -0.1575) |
| OKLCH | oklch(47.25% 0.159 263.5) |
| XYZ | xyz(12.2590, 10.0862, 43.9398) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.66
Cobalt
#0047AB
ΔE00 4.39
Denim Blue
#3B5B92
ΔE00 4.94
Denim
#1560BD
ΔE00 5.04
Dusk Blue
#26538D
ΔE00 5.26
Cobalt (survey)
#1E488F
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A54B3 #B3892A
analogous
#2A98B3 #2A54B3 #442AB3
triadic
#2A54B3 #B32A54 #54B32A
tetradic
#2A54B3 #B32A98 #B3892A #2AB344
square
#2A54B3 #B32A98 #B3892A #2AB344
split-complementary
#2A54B3 #B3442A #98B32A
monochromatic
#132550 #1E3D81 #2A54B3 #4672D4 #7898DF
Accessibility & contrast
On white
6.96
#2A54B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2A54B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A54B3
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A54B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A54B3 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E60B6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a54b3; /* rgb */ color: rgb(42, 84, 179); /* oklch */ color: oklch(47.2% 0.159 263.5);
Tailwind
colors: {
custom: {
50: '#7883ca',
500: '#2a54b3',
950: '#000000',
},
}SCSS
$custom: #2a54b3; $custom-light: #7883ca; $custom-dark: #000000;
JSON
{
"hex": "#2a54b3",
"rgb": {
"r": 42,
"g": 84,
"b": 179
},
"hsl": {
"h": 221.606,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.47247,
"c": 0.15855,
"h": 263.5
},
"luminance": 0.10088
}Semantic roles & 50–950 ramp
primary
#2A54B3
secondary
#C7AD72
accent
#B343E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82