#2E49B2#2E49B2

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

Color values

HEX#2E49B2
RGBrgb(46, 73, 178)
HSLhsl(228, 59%, 44%)
HSVhsv(228, 74%, 70%)
CMYKcmyk(74.2%, 59%, 0%, 30.2%)
CIE-LABlab(35.12, 27.25, -58.77)
CIE-LCHlch(35.12, 64.78, 294.88°)
OKLaboklab(45.1% -0.0063 -0.1696)
OKLCHoklch(45.1% 0.17 267.9)
XYZxyz(11.5424, 8.5590, 43.1546)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49B2 #B2972E
analogous
#2E8BB2 #2E49B2 #552EB2
triadic
#2E49B2 #B22E49 #49B22E
tetradic
#2E49B2 #B22E8B #B2972E #2EB255
square
#2E49B2 #B22E8B #B2972E #2EB255
split-complementary
#2E49B2 #B2552E #8BB22E
monochromatic
#152151 #213581 #2E49B2 #4C67D1 #7D91DD

Accessibility & contrast

On white

7.74
#2E49B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2E49B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49B2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49B2#FFFFFF#000000##FFFFFF
##2E49B21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e49b2;
/* rgb */ color: rgb(46, 73, 178);
/* oklch */ color: oklch(45.1% 0.170 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a7bca',
    500: '#2e49b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e49b2;
$custom-light: #7a7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49b2",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 227.727,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.16973,
    "h": 267.9
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#2E49B2
secondary
#C6B676
accent
#C246E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E49B2

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

Preview Lab → · Contrast checker → · Palette generator →

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