#2D56C8#2D56C8

#2D56C8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.184 H 265.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2D56C8
RGBrgb(45, 86, 200)
HSLhsl(224, 63%, 48%)
HSVhsv(224, 78%, 78%)
CMYKcmyk(77.5%, 57%, 0%, 21.6%)
CIE-LABlab(40.22, 26.87, -63.36)
CIE-LCHlch(40.22, 68.83, 292.98°)
OKLaboklab(49.45% -0.0155 -0.1829)
OKLCHoklch(49.45% 0.184 265.2)
XYZxyz(14.8316, 11.3819, 56.0476)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56C8 #C89F2D
analogous
#2DA3C8 #2D56C8 #512DC8
triadic
#2D56C8 #C82D56 #56C82D
tetradic
#2D56C8 #C82DA3 #C89F2D #2DC851
square
#2D56C8 #C82DA3 #C89F2D #2DC851
split-complementary
#2D56C8 #C8512D #A3C82D
monochromatic
#172B64 #224196 #2D56C8 #597BDA #8BA2E5

Accessibility & contrast

On white

6.41
#2D56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2D56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56C8
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56C8#FFFFFF#000000##FFFFFF
##2D56C81.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d56c8;
/* rgb */ color: rgb(45, 86, 200);
/* oklch */ color: oklch(49.4% 0.184 265.2);
Tailwind
colors: {
  custom: {
    50: '#7e85da',
    500: '#2d56c8',
    950: '#000000',
  },
}
SCSS
$custom: #2d56c8;
$custom-light: #7e85da;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56c8",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 224.129,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49448,
    "c": 0.18357,
    "h": 265.2
  },
  "luminance": 0.11384
}

Semantic roles & 50–950 ramp

primary
#2D56C8
secondary
#CFBA82
accent
#BB41E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2D56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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