#2D56D0#2D56D0

#2D56D0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.194 H 265.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2D56D0
RGBrgb(45, 86, 208)
HSLhsl(225, 64%, 50%)
HSVhsv(225, 78%, 82%)
CMYKcmyk(78.4%, 58.7%, 0%, 18.4%)
CIE-LABlab(40.84, 29.86, -66.96)
CIE-LCHlch(40.84, 73.32, 294.04°)
OKLaboklab(50.11% -0.0151 -0.1935)
OKLCHoklch(50.11% 0.194 265.5)
XYZxyz(15.7911, 11.7657, 61.1010)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56D0 #D0A72D
analogous
#2DA8D0 #2D56D0 #562DD0
triadic
#2D56D0 #D02D56 #56D02D
tetradic
#2D56D0 #D02DA8 #D0A72D #2DD056
square
#2D56D0 #D02DA8 #D0A72D #2DD056
split-complementary
#2D56D0 #D0562D #A8D02D
monochromatic
#172C6B #22419E #2D56D0 #5E7EDC #90A6E7

Accessibility & contrast

On white

6.26
#2D56D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2D56D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56D0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56D0#FFFFFF#000000##FFFFFF
##2D56D01.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d56d0;
/* rgb */ color: rgb(45, 86, 208);
/* oklch */ color: oklch(50.1% 0.194 265.5);
Tailwind
colors: {
  custom: {
    50: '#7f85df',
    500: '#2d56d0',
    950: '#000000',
  },
}
SCSS
$custom: #2d56d0;
$custom-light: #7f85df;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56d0",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 224.908,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50112,
    "c": 0.19409,
    "h": 265.5
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#2D56D0
secondary
#D2BF87
accent
#BD40E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2D56D0

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

Preview Lab → · Contrast checker → · Palette generator →

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