#2C56C2#2C56C2

#2C56C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.176 H 264.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2C56C2
RGBrgb(44, 86, 194)
HSLhsl(223, 63%, 47%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(77.3%, 55.7%, 0%, 23.9%)
CIE-LABlab(39.72, 24.51, -60.68)
CIE-LCHlch(39.72, 65.44, 291.99°)
OKLaboklab(48.92% -0.0166 -0.1751)
OKLCHoklch(48.92% 0.176 264.6)
XYZxyz(14.1006, 11.0845, 52.4248)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56C2 #C2982C
analogous
#2CA1C2 #2C56C2 #4D2CC2
triadic
#2C56C2 #C22C56 #56C22C
tetradic
#2C56C2 #C22CA1 #C2982C #2CC24D
square
#2C56C2 #C22CA1 #C2982C #2CC24D
split-complementary
#2C56C2 #C24D2C #A1C22C
monochromatic
#152A5E #214090 #2C56C2 #5378D8 #859FE3

Accessibility & contrast

On white

6.53
#2C56C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2C56C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56C2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56C2#FFFFFF#000000##FFFFFF
##2C56C21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c56c2;
/* rgb */ color: rgb(44, 86, 194);
/* oklch */ color: oklch(48.9% 0.176 264.6);
Tailwind
colors: {
  custom: {
    50: '#7c85d5',
    500: '#2c56c2',
    950: '#000000',
  },
}
SCSS
$custom: #2c56c2;
$custom-light: #7c85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56c2",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 223.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48922,
    "c": 0.17585,
    "h": 264.6
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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