#2E5ADB#2E5ADB

#2E5ADB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 51.8% C 0.203 H 265.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2E5ADB
RGBrgb(46, 90, 219)
HSLhsl(225, 71%, 52%)
HSVhsv(225, 79%, 86%)
CMYKcmyk(79%, 58.9%, 0%, 14.1%)
CIE-LABlab(42.77, 31.47, -70.12)
CIE-LCHlch(42.77, 76.85, 294.17°)
OKLaboklab(51.84% -0.0166 -0.2027)
OKLCHoklch(51.84% 0.203 265.3)
XYZxyz(17.5645, 13.0056, 68.5887)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5ADB #DBAF2E
analogous
#2EB0DB #2E5ADB #592EDB
triadic
#2E5ADB #DB2E5A #5ADB2E
tetradic
#2E5ADB #DB2EB0 #DBAF2E #2EDB59
square
#2E5ADB #DB2EB0 #DBAF2E #2EDB59
split-complementary
#2E5ADB #DB592E #B0DB2E
monochromatic
#152F7A #1E43AE #2E5ADB #6283E4 #96ACED

Accessibility & contrast

On white

5.83
#2E5ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2E5ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5ADB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5ADB#FFFFFF#000000##FFFFFF
##2E5ADB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5adb;
/* rgb */ color: rgb(46, 90, 219);
/* oklch */ color: oklch(51.8% 0.203 265.3);
Tailwind
colors: {
  custom: {
    50: '#8288e7',
    500: '#2e5adb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5adb;
$custom-light: #8288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5adb",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 224.74,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.20336,
    "h": 265.3
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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