#2D56A9#2D56A9

#2D56A9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.141 H 262.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2D56A9
RGBrgb(45, 86, 169)
HSLhsl(220, 58%, 42%)
HSVhsv(220, 73%, 66%)
CMYKcmyk(73.4%, 49.1%, 0%, 33.7%)
CIE-LABlab(37.98, 15.12, -48.80)
CIE-LCHlch(37.98, 51.09, 287.21°)
OKLaboklab(47.04% -0.0184 -0.1401)
OKLCHoklch(47.04% 0.141 262.5)
XYZxyz(11.5689, 10.0768, 38.8637)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56A9 #A9802D
analogous
#2D94A9 #2D56A9 #422DA9
triadic
#2D56A9 #A92D56 #56A92D
tetradic
#2D56A9 #A92D94 #A9802D #2DA942
square
#2D56A9 #A92D94 #A9802D #2DA942
split-complementary
#2D56A9 #A9422D #94A92D
monochromatic
#132548 #203D79 #2D56A9 #4673CE #7697DA

Accessibility & contrast

On white

6.96
#2D56A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2D56A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56A9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56A9#FFFFFF#000000##FFFFFF
##2D56A91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAC
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d56a9;
/* rgb */ color: rgb(45, 86, 169);
/* oklch */ color: oklch(47.0% 0.141 262.5);
Tailwind
colors: {
  custom: {
    50: '#7785c3',
    500: '#2d56a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d56a9;
$custom-light: #7785c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56a9",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 169
  },
  "hsl": {
    "h": 220.161,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47045,
    "c": 0.1413,
    "h": 262.5
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#2D56A9
secondary
#C2A76F
accent
#AE47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2D56A9

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

Preview Lab → · Contrast checker → · Palette generator →

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