#2C56BF#2C56BF

#2C56BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.172 H 264.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2C56BF
RGBrgb(44, 86, 191)
HSLhsl(223, 63%, 46%)
HSVhsv(223, 77%, 75%)
CMYKcmyk(77%, 55%, 0%, 25.1%)
CIE-LABlab(39.50, 23.37, -59.30)
CIE-LCHlch(39.50, 63.74, 291.51°)
OKLaboklab(48.68% -0.0168 -0.171)
OKLCHoklch(48.68% 0.172 264.4)
XYZxyz(13.7671, 10.9511, 50.6683)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C56BF #BF952C
analogous
#2C9FBF #2C56BF #4B2CBF
triadic
#2C56BF #BF2C56 #56BF2C
tetradic
#2C56BF #BF2C9F #BF952C #2CBF4B
square
#2C56BF #BF2C9F #BF952C #2CBF4B
split-complementary
#2C56BF #BF4B2C #9FBF2C
monochromatic
#15295C #21408D #2C56BF #5177D7 #839EE2

Accessibility & contrast

On white

6.58
#2C56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2C56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C56BF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C56BF#FFFFFF#000000##FFFFFF
##2C56BF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c56bf;
/* rgb */ color: rgb(44, 86, 191);
/* oklch */ color: oklch(48.7% 0.172 264.4);
Tailwind
colors: {
  custom: {
    50: '#7b85d3',
    500: '#2c56bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c56bf;
$custom-light: #7b85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c56bf",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 222.857,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.17182,
    "h": 264.4
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#2C56BF
secondary
#CCB57B
accent
#B742E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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