#2E56AE#2E56AE

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

Color values

HEX#2E56AE
RGBrgb(46, 86, 174)
HSLhsl(221, 58%, 43%)
HSVhsv(221, 74%, 68%)
CMYKcmyk(73.6%, 50.6%, 0%, 31.8%)
CIE-LABlab(38.36, 17.16, -51.15)
CIE-LCHlch(38.36, 53.95, 288.55°)
OKLaboklab(47.46% -0.0169 -0.147)
OKLCHoklch(47.46% 0.148 263.4)
XYZxyz(12.0918, 10.2911, 41.3853)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56AE #AE862E
analogous
#2E96AE #2E56AE #462EAE
triadic
#2E56AE #AE2E56 #56AE2E
tetradic
#2E56AE #AE2E96 #AE862E #2EAE46
square
#2E56AE #AE2E96 #AE862E #2EAE46
split-complementary
#2E56AE #AE462E #96AE2E
monochromatic
#14264D #213E7E #2E56AE #4A74CF #7A99DC

Accessibility & contrast

On white

6.87
#2E56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E56AE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56AE#FFFFFF#000000##FFFFFF
##2E56AE1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e56ae;
/* rgb */ color: rgb(46, 86, 174);
/* oklch */ color: oklch(47.5% 0.148 263.4);
Tailwind
colors: {
  custom: {
    50: '#7885c7',
    500: '#2e56ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e56ae;
$custom-light: #7885c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56ae",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 221.25,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47455,
    "c": 0.14796,
    "h": 263.4
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#2E56AE
secondary
#C4AB74
accent
#B146E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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