#2C56AF#2C56AF

#2C56AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.150 H 263.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2C56AF
RGBrgb(44, 86, 175)
HSLhsl(221, 60%, 43%)
HSVhsv(221, 75%, 69%)
CMYKcmyk(74.9%, 50.9%, 0%, 31.4%)
CIE-LABlab(38.35, 17.28, -51.76)
CIE-LCHlch(38.35, 54.57, 288.46°)
OKLaboklab(47.45% -0.0184 -0.1488)
OKLCHoklch(47.45% 0.15 263)
XYZxyz(12.1016, 10.2849, 41.8965)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56AF #AF852C
analogous
#2C97AF #2C56AF #432CAF
triadic
#2C56AF #AF2C56 #56AF2C
tetradic
#2C56AF #AF2C97 #AF852C #2CAF43
square
#2C56AF #AF2C97 #AF852C #2CAF43
split-complementary
#2C56AF #AF432C #97AF2C
monochromatic
#13264D #203E7E #2C56AF #4773D1 #7899DD

Accessibility & contrast

On white

6.87
#2C56AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2C56AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56AF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56AF#FFFFFF#000000##FFFFFF
##2C56AF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c56af;
/* rgb */ color: rgb(44, 86, 175);
/* oklch */ color: oklch(47.4% 0.150 263.0);
Tailwind
colors: {
  custom: {
    50: '#7785c7',
    500: '#2c56af',
    950: '#000000',
  },
}
SCSS
$custom: #2c56af;
$custom-light: #7785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56af",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 220.763,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.14996,
    "h": 263
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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