#2C54C3#2C54C3

#2C54C3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.180 H 265.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2C54C3
RGBrgb(44, 84, 195)
HSLhsl(224, 63%, 47%)
HSVhsv(224, 77%, 76%)
CMYKcmyk(77.4%, 56.9%, 0%, 23.5%)
CIE-LABlab(39.27, 26.19, -62.01)
CIE-LCHlch(39.27, 67.31, 292.90°)
OKLaboklab(48.6% -0.0151 -0.179)
OKLCHoklch(48.6% 0.18 265.2)
XYZxyz(14.0559, 10.8146, 52.9658)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54C3 #C39B2C
analogous
#2CA0C3 #2C54C3 #502CC3
triadic
#2C54C3 #C32C54 #54C32C
tetradic
#2C54C3 #C32CA0 #C39B2C #2CC350
square
#2C54C3 #C32CA0 #C39B2C #2CC350
split-complementary
#2C54C3 #C3502C #A0C32C
monochromatic
#15295F #213E91 #2C54C3 #5477D8 #869FE4

Accessibility & contrast

On white

6.64
#2C54C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2C54C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C54C3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54C3#FFFFFF#000000##FFFFFF
##2C54C31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c54c3;
/* rgb */ color: rgb(44, 84, 195);
/* oklch */ color: oklch(48.6% 0.180 265.2);
Tailwind
colors: {
  custom: {
    50: '#7c83d6',
    500: '#2c54c3',
    950: '#000000',
  },
}
SCSS
$custom: #2c54c3;
$custom-light: #7c83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54c3",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 224.106,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.17963,
    "h": 265.2
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#2C54C3
secondary
#CDB87E
accent
#BB42E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C54C3

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

Preview Lab → · Contrast checker → · Palette generator →

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