#2E5BDB#2E5BDB

#2E5BDB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.0% C 0.202 H 265.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2E5BDB
RGBrgb(46, 91, 219)
HSLhsl(224, 71%, 52%)
HSVhsv(224, 79%, 86%)
CMYKcmyk(79%, 58.4%, 0%, 14.1%)
CIE-LABlab(43.03, 30.83, -69.70)
CIE-LCHlch(43.03, 76.21, 293.86°)
OKLaboklab(52.03% -0.0172 -0.2014)
OKLCHoklch(52.03% 0.202 265.1)
XYZxyz(17.6495, 13.1754, 68.6170)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BDB #DBAE2E
analogous
#2EB2DB #2E5BDB #582EDB
triadic
#2E5BDB #DB2E5B #5BDB2E
tetradic
#2E5BDB #DB2EB2 #DBAE2E #2EDB58
square
#2E5BDB #DB2EB2 #DBAE2E #2EDB58
split-complementary
#2E5BDB #DB582E #B2DB2E
monochromatic
#152F7A #1E43AE #2E5BDB #6284E4 #96ADED

Accessibility & contrast

On white

5.78
#2E5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2E5BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BDB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BDB#FFFFFF#000000##FFFFFF
##2E5BDB1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e5bdb;
/* rgb */ color: rgb(46, 91, 219);
/* oklch */ color: oklch(52.0% 0.202 265.1);
Tailwind
colors: {
  custom: {
    50: '#8288e7',
    500: '#2e5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bdb;
$custom-light: #8288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bdb",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 224.393,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.20217,
    "h": 265.1
  },
  "luminance": 0.13177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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