#2E58DB#2E58DB

#2E58DB is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.5% C 0.206 H 265.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2E58DB
RGBrgb(46, 88, 219)
HSLhsl(225, 71%, 52%)
HSVhsv(225, 79%, 86%)
CMYKcmyk(79%, 59.8%, 0%, 14.1%)
CIE-LABlab(42.27, 32.75, -70.94)
CIE-LCHlch(42.27, 78.14, 294.78°)
OKLaboklab(51.46% -0.0154 -0.2051)
OKLCHoklch(51.46% 0.206 265.7)
XYZxyz(17.3981, 12.6727, 68.5332)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E58DB #DBB12E
analogous
#2EAEDB #2E58DB #5B2EDB
triadic
#2E58DB #DB2E58 #58DB2E
tetradic
#2E58DB #DB2EAE #DBB12E #2EDB5B
square
#2E58DB #DB2EAE #DBB12E #2EDB5B
split-complementary
#2E58DB #DB5B2E #AEDB2E
monochromatic
#152D7A #1E41AE #2E58DB #6282E4 #96ABED

Accessibility & contrast

On white

5.94
#2E58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2E58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E58DB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E58DB#FFFFFF#000000##FFFFFF
##2E58DB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e58db;
/* rgb */ color: rgb(46, 88, 219);
/* oklch */ color: oklch(51.5% 0.206 265.7);
Tailwind
colors: {
  custom: {
    50: '#8286e7',
    500: '#2e58db',
    950: '#000000',
  },
}
SCSS
$custom: #2e58db;
$custom-light: #8286e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e58db",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 225.434,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.20571,
    "h": 265.7
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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