#2E49B5#2E49B5

#2E49B5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.174 H 267.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2E49B5
RGBrgb(46, 73, 181)
HSLhsl(228, 59%, 45%)
HSVhsv(228, 75%, 71%)
CMYKcmyk(74.6%, 59.7%, 0%, 29%)
CIE-LABlab(35.36, 28.37, -60.15)
CIE-LCHlch(35.36, 66.51, 295.25°)
OKLaboklab(45.36% -0.0063 -0.1737)
OKLCHoklch(45.36% 0.174 267.9)
XYZxyz(11.8469, 8.6809, 44.7583)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49B5 #B59A2E
analogous
#2E8DB5 #2E49B5 #572EB5
triadic
#2E49B5 #B52E49 #49B52E
tetradic
#2E49B5 #B52E8D #B59A2E #2EB557
square
#2E49B5 #B52E8D #B59A2E #2EB557
split-complementary
#2E49B5 #B5572E #8DB52E
monochromatic
#152253 #223584 #2E49B5 #4E69D2 #7F92DE

Accessibility & contrast

On white

7.67
#2E49B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2E49B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49B5
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49B5#FFFFFF#000000##FFFFFF
##2E49B51.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e49b5;
/* rgb */ color: rgb(46, 73, 181);
/* oklch */ color: oklch(45.4% 0.174 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a7bcc',
    500: '#2e49b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e49b5;
$custom-light: #7a7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49b5",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 228,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.17378,
    "h": 267.9
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#2E49B5
secondary
#C7B778
accent
#C345E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E49B5

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

Preview Lab → · Contrast checker → · Palette generator →

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