#2E56A4#2E56A4

#2E56A4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.134 H 262.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2E56A4
RGBrgb(46, 86, 164)
HSLhsl(220, 56%, 41%)
HSVhsv(220, 72%, 64%)
CMYKcmyk(72%, 47.6%, 0%, 35.7%)
CIE-LABlab(37.69, 13.36, -46.29)
CIE-LCHlch(37.69, 48.18, 286.10°)
OKLaboklab(46.73% -0.0184 -0.1327)
OKLCHoklch(46.73% 0.134 262.1)
XYZxyz(11.1530, 9.9156, 36.4409)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56A4 #A47C2E
analogous
#2E91A4 #2E56A4 #412EA4
triadic
#2E56A4 #A42E56 #56A42E
tetradic
#2E56A4 #A42E91 #A47C2E #2EA441
square
#2E56A4 #A42E91 #A47C2E #2EA441
split-complementary
#2E56A4 #A4412E #91A42E
monochromatic
#132444 #213D74 #2E56A4 #4572CB #7496D8

Accessibility & contrast

On white

7.04
#2E56A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2E56A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E56A4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56A4#FFFFFF#000000##FFFFFF
##2E56A41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA7
Deuteranopia (green-blind)
#1154A2
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e56a4;
/* rgb */ color: rgb(46, 86, 164);
/* oklch */ color: oklch(46.7% 0.134 262.1);
Tailwind
colors: {
  custom: {
    50: '#7685bf',
    500: '#2e56a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e56a4;
$custom-light: #7685bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56a4",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 164
  },
  "hsl": {
    "h": 219.661,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46728,
    "c": 0.13395,
    "h": 262.1
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#2E56A4
secondary
#C0A46E
accent
#AC48DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E56A4

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

Preview Lab → · Contrast checker → · Palette generator →

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