#2E56AD#2E56AD

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

Color values

HEX#2E56AD
RGBrgb(46, 86, 173)
HSLhsl(221, 58%, 43%)
HSVhsv(221, 73%, 68%)
CMYKcmyk(73.4%, 50.3%, 0%, 32.2%)
CIE-LABlab(38.29, 16.78, -50.67)
CIE-LCHlch(38.29, 53.38, 288.32°)
OKLaboklab(47.38% -0.017 -0.1456)
OKLCHoklch(47.38% 0.147 263.3)
XYZxyz(11.9946, 10.2523, 40.8738)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56AD #AD852E
analogous
#2E96AD #2E56AD #452EAD
triadic
#2E56AD #AD2E56 #56AD2E
tetradic
#2E56AD #AD2E96 #AD852E #2EAD45
square
#2E56AD #AD2E96 #AD852E #2EAD45
split-complementary
#2E56AD #AD452E #96AD2E
monochromatic
#14264C #213E7D #2E56AD #4973CF #7A99DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E56AD#FFFFFF#000000##FFFFFF
##2E56AD1.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)
#2360B0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e56ad;
/* rgb */ color: rgb(46, 86, 173);
/* oklch */ color: oklch(47.4% 0.147 263.3);
Tailwind
colors: {
  custom: {
    50: '#7885c6',
    500: '#2e56ad',
    950: '#000000',
  },
}
SCSS
$custom: #2e56ad;
$custom-light: #7885c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56ad",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 221.102,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47381,
    "c": 0.14658,
    "h": 263.3
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#2E56AD
secondary
#C4AA73
accent
#B147E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E56AD

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

Preview Lab → · Contrast checker → · Palette generator →

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