#2E5DDB#2E5DDB

#2E5DDB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.200 H 264.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2E5DDB
RGBrgb(46, 93, 219)
HSLhsl(224, 71%, 52%)
HSVhsv(224, 79%, 86%)
CMYKcmyk(79%, 57.5%, 0%, 14.1%)
CIE-LABlab(43.54, 29.55, -68.86)
CIE-LCHlch(43.54, 74.94, 293.23°)
OKLaboklab(52.41% -0.0184 -0.199)
OKLCHoklch(52.41% 0.2 264.7)
XYZxyz(17.8227, 13.5219, 68.6748)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DDB #DBAC2E
analogous
#2EB4DB #2E5DDB #552EDB
triadic
#2E5DDB #DB2E5D #5DDB2E
tetradic
#2E5DDB #DB2EB4 #DBAC2E #2EDB55
square
#2E5DDB #DB2EB4 #DBAC2E #2EDB55
split-complementary
#2E5DDB #DB552E #B4DB2E
monochromatic
#15307A #1E45AE #2E5DDB #6285E4 #96AEED

Accessibility & contrast

On white

5.67
#2E5DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2E5DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DDB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DDB#FFFFFF#000000##FFFFFF
##2E5DDB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5ddb;
/* rgb */ color: rgb(46, 93, 219);
/* oklch */ color: oklch(52.4% 0.200 264.7);
Tailwind
colors: {
  custom: {
    50: '#828ae7',
    500: '#2e5ddb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ddb;
$custom-light: #828ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ddb",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 223.699,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.19981,
    "h": 264.7
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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