#2D56C0#2D56C0

#2D56C0 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.173 H 264.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2D56C0
RGBrgb(45, 86, 192)
HSLhsl(223, 62%, 46%)
HSVhsv(223, 77%, 75%)
CMYKcmyk(76.6%, 55.2%, 0%, 24.7%)
CIE-LABlab(39.61, 23.86, -59.70)
CIE-LCHlch(39.61, 64.29, 291.79°)
OKLaboklab(48.8% -0.0159 -0.1722)
OKLCHoklch(48.8% 0.173 264.7)
XYZxyz(13.9210, 11.0177, 51.2519)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56C0 #C0972D
analogous
#2DA0C0 #2D56C0 #4E2DC0
triadic
#2D56C0 #C02D56 #56C02D
tetradic
#2D56C0 #C02DA0 #C0972D #2DC04E
square
#2D56C0 #C02DA0 #C0972D #2DC04E
split-complementary
#2D56C0 #C04E2D #A0C02D
monochromatic
#162A5D #21408E #2D56C0 #5378D7 #859FE2

Accessibility & contrast

On white

6.55
#2D56C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2D56C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56C0
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56C0#FFFFFF#000000##FFFFFF
##2D56C01.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d56c0;
/* rgb */ color: rgb(45, 86, 192);
/* oklch */ color: oklch(48.8% 0.173 264.7);
Tailwind
colors: {
  custom: {
    50: '#7c85d4',
    500: '#2d56c0',
    950: '#000000',
  },
}
SCSS
$custom: #2d56c0;
$custom-light: #7c85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56c0",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 192
  },
  "hsl": {
    "h": 223.265,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48801,
    "c": 0.1729,
    "h": 264.7
  },
  "luminance": 0.11019
}

Semantic roles & 50–950 ramp

primary
#2D56C0
secondary
#CCB67D
accent
#B843E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D56C0

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

Preview Lab → · Contrast checker → · Palette generator →

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