#2D56BD#2D56BD

#2D56BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.169 H 264.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2D56BD
RGBrgb(45, 86, 189)
HSLhsl(223, 62%, 46%)
HSVhsv(223, 76%, 74%)
CMYKcmyk(76.2%, 54.5%, 0%, 25.9%)
CIE-LABlab(39.39, 22.73, -58.31)
CIE-LCHlch(39.39, 62.58, 291.29°)
OKLaboklab(48.56% -0.0162 -0.1681)
OKLCHoklch(48.56% 0.169 264.5)
XYZxyz(13.5920, 10.8861, 49.5191)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56BD #BD942D
analogous
#2D9EBD #2D56BD #4C2DBD
triadic
#2D56BD #BD2D56 #56BD2D
tetradic
#2D56BD #BD2D9E #BD942D #2DBD4C
square
#2D56BD #BD2D9E #BD942D #2DBD4C
split-complementary
#2D56BD #BD4C2D #9EBD2D
monochromatic
#15295A #21408C #2D56BD #5277D6 #839EE1

Accessibility & contrast

On white

6.61
#2D56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2D56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56BD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56BD#FFFFFF#000000##FFFFFF
##2D56BD1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d56bd;
/* rgb */ color: rgb(45, 86, 189);
/* oklch */ color: oklch(48.6% 0.169 264.5);
Tailwind
colors: {
  custom: {
    50: '#7b85d2',
    500: '#2d56bd',
    950: '#000000',
  },
}
SCSS
$custom: #2d56bd;
$custom-light: #7b85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56bd",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 222.917,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48563,
    "c": 0.16885,
    "h": 264.5
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#2D56BD
secondary
#CBB47B
accent
#B743E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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