#2C56B1#2C56B1

#2C56B1 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.153 H 263.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2C56B1
RGBrgb(44, 86, 177)
HSLhsl(221, 60%, 43%)
HSVhsv(221, 75%, 69%)
CMYKcmyk(75.1%, 51.4%, 0%, 30.6%)
CIE-LABlab(38.49, 18.04, -52.72)
CIE-LCHlch(38.49, 55.72, 288.89°)
OKLaboklab(47.6% -0.0181 -0.1516)
OKLCHoklch(47.6% 0.153 263.2)
XYZxyz(12.2995, 10.3640, 42.9387)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56B1 #B1872C
analogous
#2C98B1 #2C56B1 #452CB1
triadic
#2C56B1 #B12C56 #56B12C
tetradic
#2C56B1 #B12C98 #B1872C #2CB145
square
#2C56B1 #B12C98 #B1872C #2CB145
split-complementary
#2C56B1 #B1452C #98B12C
monochromatic
#14264F #203E80 #2C56B1 #4974D2 #7A99DE

Accessibility & contrast

On white

6.83
#2C56B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2C56B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56B1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56B1#FFFFFF#000000##FFFFFF
##2C56B11.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C61B4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c56b1;
/* rgb */ color: rgb(44, 86, 177);
/* oklch */ color: oklch(47.6% 0.153 263.2);
Tailwind
colors: {
  custom: {
    50: '#7885c9',
    500: '#2c56b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c56b1;
$custom-light: #7885c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56b1",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 177
  },
  "hsl": {
    "h": 221.053,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.15273,
    "h": 263.2
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#2C56B1
secondary
#C6AC73
accent
#B144E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C56B1

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

Preview Lab → · Contrast checker → · Palette generator →

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