#2C56AC#2C56AC

#2C56AC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.146 H 262.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2C56AC
RGBrgb(44, 86, 172)
HSLhsl(220, 59%, 42%)
HSVhsv(220, 74%, 67%)
CMYKcmyk(74.4%, 50%, 0%, 32.5%)
CIE-LABlab(38.14, 16.13, -50.32)
CIE-LCHlch(38.14, 52.84, 287.77°)
OKLaboklab(47.22% -0.0188 -0.1446)
OKLCHoklch(47.22% 0.146 262.6)
XYZxyz(11.8102, 10.1683, 40.3620)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56AC #AC822C
analogous
#2C96AC #2C56AC #422CAC
triadic
#2C56AC #AC2C56 #56AC2C
tetradic
#2C56AC #AC2C96 #AC822C #2CAC42
square
#2C56AC #AC2C96 #AC822C #2CAC42
split-complementary
#2C56AC #AC422C #96AC2C
monochromatic
#13254B #203E7B #2C56AC #4673D0 #7698DC

Accessibility & contrast

On white

6.92
#2C56AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2C56AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56AC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56AC#FFFFFF#000000##FFFFFF
##2C56AC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c56ac;
/* rgb */ color: rgb(44, 86, 172);
/* oklch */ color: oklch(47.2% 0.146 262.6);
Tailwind
colors: {
  custom: {
    50: '#7785c5',
    500: '#2c56ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c56ac;
$custom-light: #7785c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56ac",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 220.313,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.1458,
    "h": 262.6
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#2C56AC
secondary
#C4A870
accent
#AF45E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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