#2D56AE#2D56AE

#2D56AE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.148 H 263.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2D56AE
RGBrgb(45, 86, 174)
HSLhsl(221, 59%, 43%)
HSVhsv(221, 74%, 68%)
CMYKcmyk(74.1%, 50.6%, 0%, 31.8%)
CIE-LABlab(38.32, 17.03, -51.22)
CIE-LCHlch(38.32, 53.97, 288.39°)
OKLaboklab(47.41% -0.0177 -0.1472)
OKLCHoklch(47.41% 0.148 263.1)
XYZxyz(12.0472, 10.2681, 41.3832)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56AE #AE852D
analogous
#2D96AE #2D56AE #442DAE
triadic
#2D56AE #AE2D56 #56AE2D
tetradic
#2D56AE #AE2D96 #AE852D #2DAE44
square
#2D56AE #AE2D96 #AE852D #2DAE44
split-complementary
#2D56AE #AE442D #96AE2D
monochromatic
#14264D #203E7D #2D56AE #4873D0 #7999DC

Accessibility & contrast

On white

6.88
#2D56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2D56AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56AE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56AE#FFFFFF#000000##FFFFFF
##2D56AE1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d56ae;
/* rgb */ color: rgb(45, 86, 174);
/* oklch */ color: oklch(47.4% 0.148 263.1);
Tailwind
colors: {
  custom: {
    50: '#7885c7',
    500: '#2d56ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d56ae;
$custom-light: #7885c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56ae",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 220.93,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47413,
    "c": 0.14827,
    "h": 263.1
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#2D56AE
secondary
#C4AA72
accent
#B046E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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