#2C56C1#2C56C1

#2C56C1 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.175 H 264.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2C56C1
RGBrgb(44, 86, 193)
HSLhsl(223, 63%, 46%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(77.2%, 55.4%, 0%, 24.3%)
CIE-LABlab(39.65, 24.13, -60.22)
CIE-LCHlch(39.65, 64.88, 291.83°)
OKLaboklab(48.84% -0.0166 -0.1737)
OKLCHoklch(48.84% 0.175 264.5)
XYZxyz(13.9887, 11.0397, 51.8354)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56C1 #C1972C
analogous
#2CA1C1 #2C56C1 #4D2CC1
triadic
#2C56C1 #C12C56 #56C12C
tetradic
#2C56C1 #C12CA1 #C1972C #2CC14D
square
#2C56C1 #C12CA1 #C1972C #2CC14D
split-complementary
#2C56C1 #C14D2C #A1C12C
monochromatic
#152A5D #21408F #2C56C1 #5378D8 #849FE3

Accessibility & contrast

On white

6.55
#2C56C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2C56C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56C1
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56C1#FFFFFF#000000##FFFFFF
##2C56C11.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c56c1;
/* rgb */ color: rgb(44, 86, 193);
/* oklch */ color: oklch(48.8% 0.175 264.5);
Tailwind
colors: {
  custom: {
    50: '#7c85d5',
    500: '#2c56c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c56c1;
$custom-light: #7c85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56c1",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 193
  },
  "hsl": {
    "h": 223.087,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.17452,
    "h": 264.5
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#2C56C1
secondary
#CCB67D
accent
#B842E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C56C1

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

Preview Lab → · Contrast checker → · Palette generator →

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