#2C54C0#2C54C0

#2C54C0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.176 H 265.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2C54C0
RGBrgb(44, 84, 192)
HSLhsl(224, 63%, 46%)
HSVhsv(224, 77%, 75%)
CMYKcmyk(77.1%, 56.3%, 0%, 24.7%)
CIE-LABlab(39.04, 25.06, -60.63)
CIE-LCHlch(39.04, 65.61, 292.46°)
OKLaboklab(48.36% -0.0153 -0.1749)
OKLCHoklch(48.36% 0.176 265)
XYZxyz(13.7201, 10.6803, 51.1974)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54C0 #C0982C
analogous
#2C9EC0 #2C54C0 #4E2CC0
triadic
#2C54C0 #C02C54 #54C02C
tetradic
#2C54C0 #C02C9E #C0982C #2CC04E
square
#2C54C0 #C02C9E #C0982C #2CC04E
split-complementary
#2C54C0 #C04E2C #9EC02C
monochromatic
#15285C #213E8E #2C54C0 #5276D7 #849DE3

Accessibility & contrast

On white

6.70
#2C54C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2C54C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C54C0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54C0#FFFFFF#000000##FFFFFF
##2C54C01.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c54c0;
/* rgb */ color: rgb(44, 84, 192);
/* oklch */ color: oklch(48.4% 0.176 265.0);
Tailwind
colors: {
  custom: {
    50: '#7b83d4',
    500: '#2c54c0',
    950: '#000000',
  },
}
SCSS
$custom: #2c54c0;
$custom-light: #7b83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54c0",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 223.784,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.17562,
    "h": 265
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#2C54C0
secondary
#CCB67C
accent
#BA42E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C54C0

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

Preview Lab → · Contrast checker → · Palette generator →

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