#2E4ED3#2E4ED3

#2E4ED3 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 48.9% C 0.207 H 267.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2E4ED3
RGBrgb(46, 78, 211)
HSLhsl(228, 65%, 50%)
HSVhsv(228, 78%, 83%)
CMYKcmyk(78.2%, 63%, 0%, 17.3%)
CIE-LABlab(39.12, 36.18, -71.50)
CIE-LCHlch(39.12, 80.13, 296.84°)
OKLaboklab(48.92% -0.0096 -0.2069)
OKLCHoklch(48.92% 0.207 267.3)
XYZxyz(15.6049, 10.7310, 62.8642)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4ED3 #D3B32E
analogous
#2EA0D3 #2E4ED3 #612ED3
triadic
#2E4ED3 #D32E4E #4ED32E
tetradic
#2E4ED3 #D32EA0 #D3B32E #2ED361
square
#2E4ED3 #D32EA0 #D3B32E #2ED361
split-complementary
#2E4ED3 #D3612E #A0D32E
monochromatic
#17286F #223BA2 #2E4ED3 #6179DE #93A4E8

Accessibility & contrast

On white

6.67
#2E4ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E4ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E4ED3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4ED3#FFFFFF#000000##FFFFFF
##2E4ED31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e4ed3;
/* rgb */ color: rgb(46, 78, 211);
/* oklch */ color: oklch(48.9% 0.207 267.3);
Tailwind
colors: {
  custom: {
    50: '#817fe2',
    500: '#2e4ed3',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ed3;
$custom-light: #817fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ed3",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 228.364,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.20709,
    "h": 267.3
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#2E4ED3
secondary
#D3C58A
accent
#C740E8
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A15
muted
#7D7C84

Preview Lab

Preview with #2E4ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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