#2E59DB#2E59DB

#2E59DB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.6% C 0.205 H 265.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2E59DB
RGBrgb(46, 89, 219)
HSLhsl(225, 71%, 52%)
HSVhsv(225, 79%, 86%)
CMYKcmyk(79%, 59.4%, 0%, 14.1%)
CIE-LABlab(42.52, 32.11, -70.53)
CIE-LCHlch(42.52, 77.50, 294.48°)
OKLaboklab(51.65% -0.016 -0.2039)
OKLCHoklch(51.65% 0.205 265.5)
XYZxyz(17.4808, 12.8380, 68.5608)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59DB #DBB02E
analogous
#2EAFDB #2E59DB #5A2EDB
triadic
#2E59DB #DB2E59 #59DB2E
tetradic
#2E59DB #DB2EAF #DBB02E #2EDB5A
square
#2E59DB #DB2EAF #DBB02E #2EDB5A
split-complementary
#2E59DB #DB5A2E #AFDB2E
monochromatic
#152E7A #1E42AE #2E59DB #6282E4 #96ACED

Accessibility & contrast

On white

5.89
#2E59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2E59DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59DB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59DB#FFFFFF#000000##FFFFFF
##2E59DB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e59db;
/* rgb */ color: rgb(46, 89, 219);
/* oklch */ color: oklch(51.6% 0.205 265.5);
Tailwind
colors: {
  custom: {
    50: '#8287e7',
    500: '#2e59db',
    950: '#000000',
  },
}
SCSS
$custom: #2e59db;
$custom-light: #8287e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59db",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 225.087,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51647,
    "c": 0.20453,
    "h": 265.5
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#2E59DB
secondary
#D8C58D
accent
#C13AED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2E59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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