#2C56AE#2C56AE

#2C56AE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.149 H 262.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2C56AE
RGBrgb(44, 86, 174)
HSLhsl(221, 60%, 43%)
HSVhsv(221, 75%, 68%)
CMYKcmyk(74.7%, 50.6%, 0%, 31.8%)
CIE-LABlab(38.28, 16.89, -51.28)
CIE-LCHlch(38.28, 53.99, 288.23°)
OKLaboklab(47.37% -0.0185 -0.1474)
OKLCHoklch(47.37% 0.149 262.9)
XYZxyz(12.0038, 10.2457, 41.3812)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56AE #AE842C
analogous
#2C97AE #2C56AE #432CAE
triadic
#2C56AE #AE2C56 #56AE2C
tetradic
#2C56AE #AE2C97 #AE842C #2CAE43
square
#2C56AE #AE2C97 #AE842C #2CAE43
split-complementary
#2C56AE #AE432C #97AE2C
monochromatic
#13264C #203E7D #2C56AE #4773D0 #7898DD

Accessibility & contrast

On white

6.89
#2C56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2C56AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56AE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56AE#FFFFFF#000000##FFFFFF
##2C56AE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c56ae;
/* rgb */ color: rgb(44, 86, 174);
/* oklch */ color: oklch(47.4% 0.149 262.9);
Tailwind
colors: {
  custom: {
    50: '#7785c7',
    500: '#2c56ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c56ae;
$custom-light: #7785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56ae",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 220.615,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.14858,
    "h": 262.9
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#2C56AE
secondary
#C5AA71
accent
#B045E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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