#2C54BD#2C54BD
#2C54BD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.172 H 264.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C54BD |
|---|---|
| RGB | rgb(44, 84, 189) |
| HSL | hsl(223, 62%, 46%) |
| HSV | hsv(223, 77%, 74%) |
| CMYK | cmyk(76.7%, 55.6%, 0%, 25.9%) |
| CIE-LAB | lab(38.81, 23.92, -59.25) |
| CIE-LCH | lch(38.81, 63.90, 291.99°) |
| OKLab | oklab(48.12% -0.0155 -0.1709) |
| OKLCH | oklch(48.12% 0.172 264.8) |
| XYZ | xyz(13.3911, 10.5487, 49.4646) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.15
Cobalt
#0047AB
ΔE00 5.03
Denim
#1560BD
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 5.93
Denim Blue
#3B5B92
ΔE00 6.06
Warm Blue
#4B57DB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C54BD #BD952C
analogous
#2C9CBD #2C54BD #4C2CBD
triadic
#2C54BD #BD2C54 #54BD2C
tetradic
#2C54BD #BD2C9C #BD952C #2CBD4C
square
#2C54BD #BD2C9C #BD952C #2CBD4C
split-complementary
#2C54BD #BD4C2C #9CBD2C
monochromatic
#15285A #203E8B #2C54BD #5075D6 #829CE2
Accessibility & contrast
On white
6.75
#2C54BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2C54BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C54BD
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C54BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C54BD | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c54bd; /* rgb */ color: rgb(44, 84, 189); /* oklch */ color: oklch(48.1% 0.172 264.8);
Tailwind
colors: {
custom: {
50: '#7b83d2',
500: '#2c54bd',
950: '#000000',
},
}SCSS
$custom: #2c54bd; $custom-light: #7b83d2; $custom-dark: #000000;
JSON
{
"hex": "#2c54bd",
"rgb": {
"r": 44,
"g": 84,
"b": 189
},
"hsl": {
"h": 223.448,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.48116,
"c": 0.17159,
"h": 264.8
},
"luminance": 0.1055
}Semantic roles & 50–950 ramp
primary
#2C54BD
secondary
#CBB47A
accent
#B842E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83