#2C56BD#2C56BD

#2C56BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.169 H 264.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2C56BD
RGBrgb(44, 86, 189)
HSLhsl(223, 62%, 46%)
HSVhsv(223, 77%, 74%)
CMYKcmyk(76.7%, 54.5%, 0%, 25.9%)
CIE-LABlab(39.35, 22.61, -58.37)
CIE-LCHlch(39.35, 62.60, 291.18°)
OKLaboklab(48.52% -0.0169 -0.1683)
OKLCHoklch(48.52% 0.169 264.3)
XYZxyz(13.5485, 10.8636, 49.5171)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56BD #BD932C
analogous
#2C9EBD #2C56BD #4B2CBD
triadic
#2C56BD #BD2C56 #56BD2C
tetradic
#2C56BD #BD2C9E #BD932C #2CBD4B
square
#2C56BD #BD2C9E #BD932C #2CBD4B
split-complementary
#2C56BD #BD4B2C #9EBD2C
monochromatic
#15295A #203F8B #2C56BD #5077D6 #829DE2

Accessibility & contrast

On white

6.62
#2C56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2C56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56BD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56BD#FFFFFF#000000##FFFFFF
##2C56BD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c56bd;
/* rgb */ color: rgb(44, 86, 189);
/* oklch */ color: oklch(48.5% 0.169 264.3);
Tailwind
colors: {
  custom: {
    50: '#7b85d2',
    500: '#2c56bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c56bd;
$custom-light: #7b85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56bd",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 222.621,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.16912,
    "h": 264.3
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#2C56BD
secondary
#CBB37A
accent
#B642E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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