#2D56BC#2D56BC

#2D56BC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.167 H 264.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2D56BC
RGBrgb(45, 86, 188)
HSLhsl(223, 61%, 46%)
HSVhsv(223, 76%, 74%)
CMYKcmyk(76.1%, 54.3%, 0%, 26.3%)
CIE-LABlab(39.31, 22.35, -57.84)
CIE-LCHlch(39.31, 62.01, 291.13°)
OKLaboklab(48.48% -0.0163 -0.1667)
OKLCHoklch(48.48% 0.167 264.4)
XYZxyz(13.4839, 10.8428, 48.9494)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56BC #BC932D
analogous
#2D9DBC #2D56BC #4B2DBC
triadic
#2D56BC #BC2D56 #56BC2D
tetradic
#2D56BC #BC2D9D #BC932D #2DBC4B
square
#2D56BC #BC2D9D #BC932D #2DBC4B
split-complementary
#2D56BC #BC4B2D #9DBC2D
monochromatic
#152959 #213F8B #2D56BC #5177D5 #829DE1

Accessibility & contrast

On white

6.63
#2D56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2D56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56BC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56BC#FFFFFF#000000##FFFFFF
##2D56BC1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d56bc;
/* rgb */ color: rgb(45, 86, 188);
/* oklch */ color: oklch(48.5% 0.167 264.4);
Tailwind
colors: {
  custom: {
    50: '#7b85d1',
    500: '#2d56bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d56bc;
$custom-light: #7b85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56bc",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 222.797,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48484,
    "c": 0.16749,
    "h": 264.4
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#2D56BC
secondary
#CAB37B
accent
#B643E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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