#2C56A3#2C56A3

#2C56A3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.133 H 261.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2C56A3
RGBrgb(44, 86, 163)
HSLhsl(219, 57%, 41%)
HSVhsv(219, 73%, 64%)
CMYKcmyk(73%, 47.2%, 0%, 36.1%)
CIE-LABlab(37.54, 12.69, -45.93)
CIE-LCHlch(37.54, 47.65, 285.44°)
OKLaboklab(46.57% -0.0201 -0.1317)
OKLCHoklch(46.57% 0.133 261.3)
XYZxyz(10.9750, 9.8342, 35.9630)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56A3 #A3792C
analogous
#2C91A3 #2C56A3 #3E2CA3
triadic
#2C56A3 #A32C56 #56A32C
tetradic
#2C56A3 #A32C91 #A3792C #2CA33E
square
#2C56A3 #A32C91 #A3792C #2CA33E
split-complementary
#2C56A3 #A33E2C #91A32C
monochromatic
#122343 #1F3D73 #2C56A3 #4172CC #7195D9

Accessibility & contrast

On white

7.08
#2C56A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2C56A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C56A3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56A3#FFFFFF#000000##FFFFFF
##2C56A31.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#1253A1
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c56a3;
/* rgb */ color: rgb(44, 86, 163);
/* oklch */ color: oklch(46.6% 0.133 261.3);
Tailwind
colors: {
  custom: {
    50: '#7585bf',
    500: '#2c56a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c56a3;
$custom-light: #7585bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56a3",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 163
  },
  "hsl": {
    "h": 218.824,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46571,
    "c": 0.13321,
    "h": 261.3
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#2C56A3
secondary
#C0A26B
accent
#AA47E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C56A3

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

Preview Lab → · Contrast checker → · Palette generator →

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