#2E49B3#2E49B3

#2E49B3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.171 H 267.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2E49B3
RGBrgb(46, 73, 179)
HSLhsl(228, 59%, 44%)
HSVhsv(228, 74%, 70%)
CMYKcmyk(74.3%, 59.2%, 0%, 29.8%)
CIE-LABlab(35.20, 27.63, -59.23)
CIE-LCHlch(35.20, 65.36, 295.00°)
OKLaboklab(45.19% -0.0063 -0.171)
OKLCHoklch(45.19% 0.171 267.9)
XYZxyz(11.6431, 8.5994, 43.6853)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49B3 #B3982E
analogous
#2E8CB3 #2E49B3 #562EB3
triadic
#2E49B3 #B32E49 #49B32E
tetradic
#2E49B3 #B32E8C #B3982E #2EB356
square
#2E49B3 #B32E8C #B3982E #2EB356
split-complementary
#2E49B3 #B3562E #8CB32E
monochromatic
#152152 #213582 #2E49B3 #4D68D1 #7E91DE

Accessibility & contrast

On white

7.72
#2E49B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E49B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49B3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49B3#FFFFFF#000000##FFFFFF
##2E49B31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e49b3;
/* rgb */ color: rgb(46, 73, 179);
/* oklch */ color: oklch(45.2% 0.171 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a7bcb',
    500: '#2e49b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e49b3;
$custom-light: #7a7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49b3",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 227.82,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45189,
    "c": 0.17109,
    "h": 267.9
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#2E49B3
secondary
#C6B676
accent
#C246E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E49B3

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

Preview Lab → · Contrast checker → · Palette generator →

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