#2E49B4#2E49B4

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

Color values

HEX#2E49B4
RGBrgb(46, 73, 180)
HSLhsl(228, 59%, 44%)
HSVhsv(228, 74%, 71%)
CMYKcmyk(74.4%, 59.4%, 0%, 29.4%)
CIE-LABlab(35.28, 28.00, -59.69)
CIE-LCHlch(35.28, 65.93, 295.13°)
OKLaboklab(45.27% -0.0063 -0.1723)
OKLCHoklch(45.27% 0.172 267.9)
XYZxyz(11.7446, 8.6400, 44.2199)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49B4 #B4992E
analogous
#2E8CB4 #2E49B4 #562EB4
triadic
#2E49B4 #B42E49 #49B42E
tetradic
#2E49B4 #B42E8C #B4992E #2EB456
square
#2E49B4 #B42E8C #B4992E #2EB456
split-complementary
#2E49B4 #B4562E #8CB42E
monochromatic
#152153 #223583 #2E49B4 #4E68D2 #7E92DE

Accessibility & contrast

On white

7.70
#2E49B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E49B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49B4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49B4#FFFFFF#000000##FFFFFF
##2E49B41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e49b4;
/* rgb */ color: rgb(46, 73, 180);
/* oklch */ color: oklch(45.3% 0.172 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a7bcb',
    500: '#2e49b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e49b4;
$custom-light: #7a7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49b4",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 227.91,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45274,
    "c": 0.17243,
    "h": 267.9
  },
  "luminance": 0.08641
}

Semantic roles & 50–950 ramp

primary
#2E49B4
secondary
#C7B777
accent
#C345E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E49B4

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

Preview Lab → · Contrast checker → · Palette generator →

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