#2C56BC#2C56BC

#2C56BC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.168 H 264.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2C56BC
RGBrgb(44, 86, 188)
HSLhsl(223, 62%, 45%)
HSVhsv(223, 77%, 74%)
CMYKcmyk(76.6%, 54.3%, 0%, 26.3%)
CIE-LABlab(39.28, 22.23, -57.91)
CIE-LCHlch(39.28, 62.03, 291.00°)
OKLaboklab(48.45% -0.017 -0.1669)
OKLCHoklch(48.45% 0.168 264.2)
XYZxyz(13.4404, 10.8204, 48.9474)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56BC #BC922C
analogous
#2C9EBC #2C56BC #4A2CBC
triadic
#2C56BC #BC2C56 #56BC2C
tetradic
#2C56BC #BC2C9E #BC922C #2CBC4A
square
#2C56BC #BC2C9E #BC922C #2CBC4A
split-complementary
#2C56BC #BC4A2C #9EBC2C
monochromatic
#152959 #203F8A #2C56BC #4F77D6 #819DE1

Accessibility & contrast

On white

6.64
#2C56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2C56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56BC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56BC#FFFFFF#000000##FFFFFF
##2C56BC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c56bc;
/* rgb */ color: rgb(44, 86, 188);
/* oklch */ color: oklch(48.4% 0.168 264.2);
Tailwind
colors: {
  custom: {
    50: '#7a85d1',
    500: '#2c56bc',
    950: '#000000',
  },
}
SCSS
$custom: #2c56bc;
$custom-light: #7a85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56bc",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 222.5,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.16777,
    "h": 264.2
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#2C56BC
secondary
#CAB379
accent
#B643E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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