#2C54B8#2C54B8
#2C54B8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.165 H 264.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2C54B8 |
|---|---|
| RGB | rgb(44, 84, 184) |
| HSL | hsl(223, 61%, 45%) |
| HSV | hsv(223, 76%, 72%) |
| CMYK | cmyk(76.1%, 54.3%, 0%, 27.8%) |
| CIE-LAB | lab(38.44, 22.03, -56.92) |
| CIE-LCH | lch(38.44, 61.03, 291.15°) |
| OKLab | oklab(47.72% -0.0159 -0.164) |
| OKLCH | oklch(47.72% 0.165 264.5) |
| XYZ | xyz(12.8577, 10.3354, 46.6554) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.88
Cobalt
#0047AB
ΔE00 4.70
Denim
#1560BD
ΔE00 5.25
Denim Blue
#3B5B92
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 6.03
Blue Blue
#2242C7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C54B8 #B8902C
analogous
#2C9AB8 #2C54B8 #4A2CB8
triadic
#2C54B8 #B82C54 #54B82C
tetradic
#2C54B8 #B82C9A #B8902C #2CB84A
square
#2C54B8 #B82C9A #B8902C #2CB84A
split-complementary
#2C54B8 #B84A2C #9AB82C
monochromatic
#142755 #203D87 #2C54B8 #4D74D4 #7E9AE0
Accessibility & contrast
On white
6.85
#2C54B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2C54B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C54B8
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C54B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C54B8 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c54b8; /* rgb */ color: rgb(44, 84, 184); /* oklch */ color: oklch(47.7% 0.165 264.5);
Tailwind
colors: {
custom: {
50: '#7a83ce',
500: '#2c54b8',
950: '#000000',
},
}SCSS
$custom: #2c54b8; $custom-light: #7a83ce; $custom-dark: #000000;
JSON
{
"hex": "#2c54b8",
"rgb": {
"r": 44,
"g": 84,
"b": 184
},
"hsl": {
"h": 222.857,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.47717,
"c": 0.16481,
"h": 264.5
},
"luminance": 0.10337
}Semantic roles & 50–950 ramp
primary
#2C54B8
secondary
#C9B177
accent
#B643E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82