#2E5EDB#2E5EDB

#2E5EDB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.199 H 264.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2E5EDB
RGBrgb(46, 94, 219)
HSLhsl(223, 71%, 52%)
HSVhsv(223, 79%, 86%)
CMYKcmyk(79%, 57.1%, 0%, 14.1%)
CIE-LABlab(43.80, 28.91, -68.44)
CIE-LCHlch(43.80, 74.30, 292.90°)
OKLaboklab(52.61% -0.019 -0.1977)
OKLCHoklch(52.61% 0.199 264.5)
XYZxyz(17.9111, 13.6986, 68.7042)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EDB #DBAB2E
analogous
#2EB4DB #2E5EDB #552EDB
triadic
#2E5EDB #DB2E5E #5EDB2E
tetradic
#2E5EDB #DB2EB4 #DBAB2E #2EDB55
square
#2E5EDB #DB2EB4 #DBAB2E #2EDB55
split-complementary
#2E5EDB #DB552E #B4DB2E
monochromatic
#15317A #1E46AE #2E5EDB #6286E4 #96AEED

Accessibility & contrast

On white

5.61
#2E5EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2E5EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EDB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EDB#FFFFFF#000000##FFFFFF
##2E5EDB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e5edb;
/* rgb */ color: rgb(46, 94, 219);
/* oklch */ color: oklch(52.6% 0.199 264.5);
Tailwind
colors: {
  custom: {
    50: '#828be7',
    500: '#2e5edb',
    950: '#000000',
  },
}
SCSS
$custom: #2e5edb;
$custom-light: #828be7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5edb",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 223.353,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.19862,
    "h": 264.5
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#2E5EDB
secondary
#D8C38D
accent
#BC3AED
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2E5EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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