#2E49AB#2E49AB

#2E49AB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.160 H 267.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2E49AB
RGBrgb(46, 73, 171)
HSLhsl(227, 58%, 43%)
HSVhsv(227, 73%, 67%)
CMYKcmyk(73.1%, 57.3%, 0%, 32.9%)
CIE-LABlab(34.57, 24.63, -55.51)
CIE-LCHlch(34.57, 60.73, 293.93°)
OKLaboklab(44.52% -0.0065 -0.16)
OKLCHoklch(44.52% 0.16 267.7)
XYZxyz(10.8574, 8.2851, 39.5472)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49AB #AB902E
analogous
#2E88AB #2E49AB #512EAB
triadic
#2E49AB #AB2E49 #49AB2E
tetradic
#2E49AB #AB2E88 #AB902E #2EAB51
square
#2E49AB #AB2E88 #AB902E #2EAB51
split-complementary
#2E49AB #AB512E #88AB2E
monochromatic
#14204B #21347B #2E49AB #4865CE #798EDB

Accessibility & contrast

On white

7.90
#2E49AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E49AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49AB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49AB#FFFFFF#000000##FFFFFF
##2E49AB1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e49ab;
/* rgb */ color: rgb(46, 73, 171);
/* oklch */ color: oklch(44.5% 0.160 267.7);
Tailwind
colors: {
  custom: {
    50: '#787bc5',
    500: '#2e49ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e49ab;
$custom-light: #787bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49ab",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 227.04,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44519,
    "c": 0.16016,
    "h": 267.7
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#2E49AB
secondary
#C3B172
accent
#C047E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E49AB

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

Preview Lab → · Contrast checker → · Palette generator →

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