#2C54BF#2C54BF

#2C54BF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.174 H 264.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2C54BF
RGBrgb(44, 84, 191)
HSLhsl(224, 63%, 46%)
HSVhsv(224, 77%, 75%)
CMYKcmyk(77%, 56%, 0%, 25.1%)
CIE-LABlab(38.96, 24.68, -60.17)
CIE-LCHlch(38.96, 65.04, 292.30°)
OKLaboklab(48.28% -0.0153 -0.1736)
OKLCHoklch(48.28% 0.174 264.9)
XYZxyz(13.6097, 10.6362, 50.6158)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54BF #BF972C
analogous
#2C9DBF #2C54BF #4D2CBF
triadic
#2C54BF #BF2C54 #54BF2C
tetradic
#2C54BF #BF2C9D #BF972C #2CBF4D
square
#2C54BF #BF2C9D #BF972C #2CBF4D
split-complementary
#2C54BF #BF4D2C #9DBF2C
monochromatic
#15285C #213E8D #2C54BF #5176D7 #839DE2

Accessibility & contrast

On white

6.71
#2C54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2C54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C54BF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54BF#FFFFFF#000000##FFFFFF
##2C54BF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c54bf;
/* rgb */ color: rgb(44, 84, 191);
/* oklch */ color: oklch(48.3% 0.174 264.9);
Tailwind
colors: {
  custom: {
    50: '#7b83d3',
    500: '#2c54bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c54bf;
$custom-light: #7b83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54bf",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 223.673,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.17428,
    "h": 264.9
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#2C54BF
secondary
#CCB67B
accent
#B942E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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