#2C56B0#2C56B0

#2C56B0 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.151 H 263.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2C56B0
RGBrgb(44, 86, 176)
HSLhsl(221, 60%, 43%)
HSVhsv(221, 75%, 69%)
CMYKcmyk(75%, 51.1%, 0%, 31%)
CIE-LABlab(38.42, 17.66, -52.24)
CIE-LCHlch(38.42, 55.15, 288.68°)
OKLaboklab(47.52% -0.0182 -0.1502)
OKLCHoklch(47.52% 0.151 263.1)
XYZxyz(12.2002, 10.3243, 42.4157)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56B0 #B0862C
analogous
#2C98B0 #2C56B0 #442CB0
triadic
#2C56B0 #B02C56 #56B02C
tetradic
#2C56B0 #B02C98 #B0862C #2CB044
square
#2C56B0 #B02C98 #B0862C #2CB044
split-complementary
#2C56B0 #B0442C #98B02C
monochromatic
#14264E #203E7F #2C56B0 #4874D1 #7999DD

Accessibility & contrast

On white

6.85
#2C56B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C56B0
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56B0#FFFFFF#000000##FFFFFF
##2C56B01.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c56b0;
/* rgb */ color: rgb(44, 86, 176);
/* oklch */ color: oklch(47.5% 0.151 263.1);
Tailwind
colors: {
  custom: {
    50: '#7885c8',
    500: '#2c56b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c56b0;
$custom-light: #7885c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56b0",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 176
  },
  "hsl": {
    "h": 220.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47521,
    "c": 0.15134,
    "h": 263.1
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#2C56B0
secondary
#C6AB72
accent
#B145E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C56B0

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

Preview Lab → · Contrast checker → · Palette generator →

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