#2A54C2#2A54C2
#2A54C2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.179 H 264.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2A54C2 |
|---|---|
| RGB | rgb(42, 84, 194) |
| HSL | hsl(223, 64%, 46%) |
| HSV | hsv(223, 78%, 76%) |
| CMYK | cmyk(78.4%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.12, 25.60, -61.67) |
| CIE-LCH | lch(39.12, 66.78, 292.55°) |
| OKLab | oklab(48.45% -0.0167 -0.178) |
| OKLCH | oklch(48.45% 0.179 264.7) |
| XYZ | xyz(13.8593, 10.7263, 52.3684) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.42
Cobalt
#0047AB
ΔE00 5.36
Denim
#1560BD
ΔE00 5.49
Warm Blue
#4B57DB
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 5.75
Azul
#1D5DEC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A54C2 #C2982A
analogous
#2AA0C2 #2A54C2 #4C2AC2
triadic
#2A54C2 #C22A54 #54C22A
tetradic
#2A54C2 #C22AA0 #C2982A #2AC24C
square
#2A54C2 #C22AA0 #C2982A #2AC24C
split-complementary
#2A54C2 #C24C2A #A0C22A
monochromatic
#14285D #1F3E90 #2A54C2 #5076D9 #829DE4
Accessibility & contrast
On white
6.68
#2A54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2A54C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A54C2
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A54C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A54C2 | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a54c2; /* rgb */ color: rgb(42, 84, 194); /* oklch */ color: oklch(48.4% 0.179 264.7);
Tailwind
colors: {
custom: {
50: '#7b83d5',
500: '#2a54c2',
950: '#000000',
},
}SCSS
$custom: #2a54c2; $custom-light: #7b83d5; $custom-dark: #000000;
JSON
{
"hex": "#2a54c2",
"rgb": {
"r": 42,
"g": 84,
"b": 194
},
"hsl": {
"h": 223.421,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.48445,
"c": 0.17882,
"h": 264.7
},
"luminance": 0.10728
}Semantic roles & 50–950 ramp
primary
#2A54C2
secondary
#CDB67B
accent
#B940E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83