#2E57DB#2E57DB

#2E57DB is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.3% C 0.207 H 265.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2E57DB
RGBrgb(46, 87, 219)
HSLhsl(226, 71%, 52%)
HSVhsv(226, 79%, 86%)
CMYKcmyk(79%, 60.3%, 0%, 14.1%)
CIE-LABlab(42.02, 33.39, -71.35)
CIE-LCHlch(42.02, 78.78, 295.08°)
OKLaboklab(51.27% -0.0148 -0.2063)
OKLCHoklch(51.27% 0.207 265.9)
XYZxyz(17.3166, 12.5097, 68.5061)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57DB #DBB22E
analogous
#2EAEDB #2E57DB #5B2EDB
triadic
#2E57DB #DB2E57 #57DB2E
tetradic
#2E57DB #DB2EAE #DBB22E #2EDB5B
square
#2E57DB #DB2EAE #DBB22E #2EDB5B
split-complementary
#2E57DB #DB5B2E #AEDB2E
monochromatic
#152D7A #1E40AE #2E57DB #6281E4 #96ABED

Accessibility & contrast

On white

6.00
#2E57DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2E57DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57DB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57DB#FFFFFF#000000##FFFFFF
##2E57DB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e57db;
/* rgb */ color: rgb(46, 87, 219);
/* oklch */ color: oklch(51.3% 0.207 265.9);
Tailwind
colors: {
  custom: {
    50: '#8286e7',
    500: '#2e57db',
    950: '#000000',
  },
}
SCSS
$custom: #2e57db;
$custom-light: #8286e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57db",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 225.78,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.20687,
    "h": 265.9
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#2E57DB
secondary
#D8C68D
accent
#C33AED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2E57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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