#2C56C3#2C56C3

#2C56C3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.177 H 264.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2C56C3
RGBrgb(44, 86, 195)
HSLhsl(223, 63%, 47%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(77.4%, 55.9%, 0%, 23.5%)
CIE-LABlab(39.80, 24.88, -61.14)
CIE-LCHlch(39.80, 66.01, 292.15°)
OKLaboklab(49% -0.0165 -0.1764)
OKLCHoklch(49% 0.177 264.7)
XYZxyz(14.2133, 11.1296, 53.0183)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56C3 #C3992C
analogous
#2CA2C3 #2C56C3 #4D2CC3
triadic
#2C56C3 #C32C56 #56C32C
tetradic
#2C56C3 #C32CA2 #C3992C #2CC34D
square
#2C56C3 #C32CA2 #C3992C #2CC34D
split-complementary
#2C56C3 #C34D2C #A2C32C
monochromatic
#152A5F #214091 #2C56C3 #5479D8 #86A0E4

Accessibility & contrast

On white

6.51
#2C56C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2C56C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56C3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56C3#FFFFFF#000000##FFFFFF
##2C56C31.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c56c3;
/* rgb */ color: rgb(44, 86, 195);
/* oklch */ color: oklch(49.0% 0.177 264.7);
Tailwind
colors: {
  custom: {
    50: '#7c85d6',
    500: '#2c56c3',
    950: '#000000',
  },
}
SCSS
$custom: #2c56c3;
$custom-light: #7c85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56c3",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 195
  },
  "hsl": {
    "h": 223.311,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.17719,
    "h": 264.7
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C56C3

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

Preview Lab → · Contrast checker → · Palette generator →

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