#2D56CA#2D56CA

#2D56CA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.186 H 265.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2D56CA
RGBrgb(45, 86, 202)
HSLhsl(224, 64%, 48%)
HSVhsv(224, 78%, 79%)
CMYKcmyk(77.7%, 57.4%, 0%, 20.8%)
CIE-LABlab(40.37, 27.62, -64.27)
CIE-LCHlch(40.37, 69.95, 293.26°)
OKLaboklab(49.61% -0.0154 -0.1856)
OKLCHoklch(49.61% 0.186 265.3)
XYZxyz(15.0669, 11.4760, 57.2867)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56CA #CAA12D
analogous
#2DA4CA #2D56CA #522DCA
triadic
#2D56CA #CA2D56 #56CA2D
tetradic
#2D56CA #CA2DA4 #CAA12D #2DCA52
square
#2D56CA #CA2DA4 #CAA12D #2DCA52
split-complementary
#2D56CA #CA522D #A4CA2D
monochromatic
#172B66 #224198 #2D56CA #5A7BDA #8CA3E5

Accessibility & contrast

On white

6.37
#2D56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2D56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56CA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56CA#FFFFFF#000000##FFFFFF
##2D56CA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d56ca;
/* rgb */ color: rgb(45, 86, 202);
/* oklch */ color: oklch(49.6% 0.186 265.3);
Tailwind
colors: {
  custom: {
    50: '#7e85db',
    500: '#2d56ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d56ca;
$custom-light: #7e85db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56ca",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 224.331,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49612,
    "c": 0.18623,
    "h": 265.3
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#2D56CA
secondary
#CFBC83
accent
#BB41E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2D56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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