#2C54C1#2C54C1

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

Color values

HEX#2C54C1
RGBrgb(44, 84, 193)
HSLhsl(224, 63%, 46%)
HSVhsv(224, 77%, 76%)
CMYKcmyk(77.2%, 56.5%, 0%, 24.3%)
CIE-LABlab(39.11, 25.44, -61.09)
CIE-LCHlch(39.11, 66.17, 292.61°)
OKLaboklab(48.44% -0.0152 -0.1763)
OKLCHoklch(48.44% 0.177 265.1)
XYZxyz(13.8313, 10.7248, 51.7829)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54C1 #C1992C
analogous
#2C9FC1 #2C54C1 #4F2CC1
triadic
#2C54C1 #C12C54 #54C12C
tetradic
#2C54C1 #C12C9F #C1992C #2CC14F
square
#2C54C1 #C12C9F #C1992C #2CC14F
split-complementary
#2C54C1 #C14F2C #9FC12C
monochromatic
#15295D #213E8F #2C54C1 #5376D8 #849EE3

Accessibility & contrast

On white

6.68
#2C54C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2C54C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C54C1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54C1#FFFFFF#000000##FFFFFF
##2C54C11.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c54c1;
/* rgb */ color: rgb(44, 84, 193);
/* oklch */ color: oklch(48.4% 0.177 265.1);
Tailwind
colors: {
  custom: {
    50: '#7c83d5',
    500: '#2c54c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c54c1;
$custom-light: #7c83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54c1",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 193
  },
  "hsl": {
    "h": 223.893,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.17696,
    "h": 265.1
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C54C1

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

Preview Lab → · Contrast checker → · Palette generator →

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