#2E49A1#2E49A1

#2E49A1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.146 H 267.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2E49A1
RGBrgb(46, 73, 161)
HSLhsl(226, 56%, 41%)
HSVhsv(226, 71%, 63%)
CMYKcmyk(71.4%, 54.7%, 0%, 36.9%)
CIE-LABlab(33.81, 20.86, -50.75)
CIE-LCHlch(33.81, 54.87, 292.35°)
OKLaboklab(43.71% -0.0071 -0.146)
OKLCHoklch(43.71% 0.146 267.2)
XYZxyz(9.9400, 7.9181, 34.7158)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49A1 #A1862E
analogous
#2E82A1 #2E49A1 #4C2EA1
triadic
#2E49A1 #A12E49 #49A12E
tetradic
#2E49A1 #A12E82 #A1862E #2EA14C
square
#2E49A1 #A12E82 #A1862E #2EA14C
split-complementary
#2E49A1 #A14C2E #82A12E
monochromatic
#131E42 #203371 #2E49A1 #4362C9 #738AD7

Accessibility & contrast

On white

8.13
#2E49A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2E49A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49A1
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49A1#FFFFFF#000000##FFFFFF
##2E49A11.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0455A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e49a1;
/* rgb */ color: rgb(46, 73, 161);
/* oklch */ color: oklch(43.7% 0.146 267.2);
Tailwind
colors: {
  custom: {
    50: '#767bbd',
    500: '#2e49a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e49a1;
$custom-light: #767bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49a1",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 161
  },
  "hsl": {
    "h": 225.913,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43709,
    "c": 0.1462,
    "h": 267.2
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#2E49A1
secondary
#BEAB6C
accent
#BC49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E49A1

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

Preview Lab → · Contrast checker → · Palette generator →

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