#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
RGBrgb(44, 84, 189)
HSLhsl(223, 62%, 46%)
HSVhsv(223, 77%, 74%)
CMYKcmyk(76.7%, 55.6%, 0%, 25.9%)
CIE-LABlab(38.81, 23.92, -59.25)
CIE-LCHlch(38.81, 63.90, 291.99°)
OKLaboklab(48.12% -0.0155 -0.1709)
OKLCHoklch(48.12% 0.172 264.8)
XYZxyz(13.3911, 10.5487, 49.4646)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##2C54BD1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.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

Preview Lab

Preview with #2C54BD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2C54BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva