#2D56C3#2D56C3

#2D56C3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.177 H 264.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2D56C3
RGBrgb(45, 86, 195)
HSLhsl(224, 63%, 47%)
HSVhsv(224, 77%, 76%)
CMYKcmyk(76.9%, 55.9%, 0%, 23.5%)
CIE-LABlab(39.84, 24.99, -61.08)
CIE-LCHlch(39.84, 65.99, 292.25°)
OKLaboklab(49.04% -0.0157 -0.1762)
OKLCHoklch(49.04% 0.177 264.9)
XYZxyz(14.2568, 11.1520, 53.0203)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56C3 #C39A2D
analogous
#2DA1C3 #2D56C3 #4F2DC3
triadic
#2D56C3 #C32D56 #56C32D
tetradic
#2D56C3 #C32DA1 #C39A2D #2DC34F
square
#2D56C3 #C32DA1 #C39A2D #2DC34F
split-complementary
#2D56C3 #C34F2D #A1C32D
monochromatic
#162A60 #224091 #2D56C3 #5579D8 #87A0E3

Accessibility & contrast

On white

6.50
#2D56C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2D56C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56C3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56C3#FFFFFF#000000##FFFFFF
##2D56C31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d56c3;
/* rgb */ color: rgb(45, 86, 195);
/* oklch */ color: oklch(49.0% 0.177 264.9);
Tailwind
colors: {
  custom: {
    50: '#7c85d6',
    500: '#2d56c3',
    950: '#000000',
  },
}
SCSS
$custom: #2d56c3;
$custom-light: #7c85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56c3",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 195
  },
  "hsl": {
    "h": 223.6,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.17692,
    "h": 264.9
  },
  "luminance": 0.11154
}

Semantic roles & 50–950 ramp

primary
#2D56C3
secondary
#CDB87F
accent
#B942E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D56C3

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

Preview Lab → · Contrast checker → · Palette generator →

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