#2D56AF#2D56AF

#2D56AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.150 H 263.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2D56AF
RGBrgb(45, 86, 175)
HSLhsl(221, 59%, 43%)
HSVhsv(221, 74%, 69%)
CMYKcmyk(74.3%, 50.9%, 0%, 31.4%)
CIE-LABlab(38.39, 17.41, -51.70)
CIE-LCHlch(38.39, 54.55, 288.61°)
OKLaboklab(47.49% -0.0176 -0.1486)
OKLCHoklch(47.49% 0.15 263.3)
XYZxyz(12.1451, 10.3073, 41.8986)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D56AF #AF862D
analogous
#2D97AF #2D56AF #452DAF
triadic
#2D56AF #AF2D56 #56AF2D
tetradic
#2D56AF #AF2D97 #AF862D #2DAF45
square
#2D56AF #AF2D97 #AF862D #2DAF45
split-complementary
#2D56AF #AF452D #97AF2D
monochromatic
#14264E #203E7E #2D56AF #4974D0 #7A99DD

Accessibility & contrast

On white

6.86
#2D56AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2D56AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D56AF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D56AF#FFFFFF#000000##FFFFFF
##2D56AF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d56af;
/* rgb */ color: rgb(45, 86, 175);
/* oklch */ color: oklch(47.5% 0.150 263.3);
Tailwind
colors: {
  custom: {
    50: '#7885c7',
    500: '#2d56af',
    950: '#000000',
  },
}
SCSS
$custom: #2d56af;
$custom-light: #7885c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d56af",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 221.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.14966,
    "h": 263.3
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#2D56AF
secondary
#C5AB73
accent
#B146E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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