#2E56DB#2E56DB

#2E56DB is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.1% C 0.208 H 266.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2E56DB
RGBrgb(46, 86, 219)
HSLhsl(226, 71%, 52%)
HSVhsv(226, 79%, 86%)
CMYKcmyk(79%, 60.7%, 0%, 14.1%)
CIE-LABlab(41.77, 34.02, -71.76)
CIE-LCHlch(41.77, 79.42, 295.37°)
OKLaboklab(51.09% -0.0142 -0.2075)
OKLCHoklch(51.09% 0.208 266.1)
XYZxyz(17.2362, 12.3489, 68.4793)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56DB #DBB32E
analogous
#2EADDB #2E56DB #5D2EDB
triadic
#2E56DB #DB2E56 #56DB2E
tetradic
#2E56DB #DB2EAD #DBB32E #2EDB5D
square
#2E56DB #DB2EAD #DBB32E #2EDB5D
split-complementary
#2E56DB #DB5D2E #ADDB2E
monochromatic
#152C7A #1E3FAE #2E56DB #6280E4 #96AAED

Accessibility & contrast

On white

6.05
#2E56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2E56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56DB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56DB#FFFFFF#000000##FFFFFF
##2E56DB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e56db;
/* rgb */ color: rgb(46, 86, 219);
/* oklch */ color: oklch(51.1% 0.208 266.1);
Tailwind
colors: {
  custom: {
    50: '#8285e7',
    500: '#2e56db',
    950: '#000000',
  },
}
SCSS
$custom: #2e56db;
$custom-light: #8285e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56db",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 226.127,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51086,
    "c": 0.20804,
    "h": 266.1
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#2E56DB
secondary
#D8C78D
accent
#C43AED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #2E56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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