#2E5CDB#2E5CDB

#2E5CDB is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.2% C 0.201 H 264.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2E5CDB
RGBrgb(46, 92, 219)
HSLhsl(224, 71%, 52%)
HSVhsv(224, 79%, 86%)
CMYKcmyk(79%, 58%, 0%, 14.1%)
CIE-LABlab(43.28, 30.19, -69.28)
CIE-LCHlch(43.28, 75.58, 293.55°)
OKLaboklab(52.22% -0.0178 -0.2002)
OKLCHoklch(52.22% 0.201 264.9)
XYZxyz(17.7355, 13.3475, 68.6457)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CDB #DBAD2E
analogous
#2EB3DB #2E5CDB #572EDB
triadic
#2E5CDB #DB2E5C #5CDB2E
tetradic
#2E5CDB #DB2EB3 #DBAD2E #2EDB57
square
#2E5CDB #DB2EB3 #DBAD2E #2EDB57
split-complementary
#2E5CDB #DB572E #B3DB2E
monochromatic
#15307A #1E44AE #2E5CDB #6285E4 #96ADED

Accessibility & contrast

On white

5.72
#2E5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2E5CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CDB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CDB#FFFFFF#000000##FFFFFF
##2E5CDB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e5cdb;
/* rgb */ color: rgb(46, 92, 219);
/* oklch */ color: oklch(52.2% 0.201 264.9);
Tailwind
colors: {
  custom: {
    50: '#8289e7',
    500: '#2e5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5cdb;
$custom-light: #8289e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5cdb",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 224.046,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.201,
    "h": 264.9
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#2E5CDB
secondary
#D8C48D
accent
#BE3AED
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2E5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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