#2E49B7#2E49B7

#2E49B7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.176 H 268.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2E49B7
RGBrgb(46, 73, 183)
HSLhsl(228, 60%, 45%)
HSVhsv(228, 75%, 72%)
CMYKcmyk(74.9%, 60.1%, 0%, 28.2%)
CIE-LABlab(35.52, 29.11, -61.07)
CIE-LCHlch(35.52, 67.65, 295.49°)
OKLaboklab(45.53% -0.0062 -0.1764)
OKLCHoklch(45.53% 0.176 268)
XYZxyz(12.0535, 8.7635, 45.8468)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49B7 #B79C2E
analogous
#2E8EB7 #2E49B7 #572EB7
triadic
#2E49B7 #B72E49 #49B72E
tetradic
#2E49B7 #B72E8E #B79C2E #2EB757
square
#2E49B7 #B72E8E #B79C2E #2EB757
split-complementary
#2E49B7 #B7572E #8EB72E
monochromatic
#152255 #223586 #2E49B7 #4F69D3 #8093DF

Accessibility & contrast

On white

7.63
#2E49B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2E49B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49B7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49B7#FFFFFF#000000##FFFFFF
##2E49B71.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e49b7;
/* rgb */ color: rgb(46, 73, 183);
/* oklch */ color: oklch(45.5% 0.176 268.0);
Tailwind
colors: {
  custom: {
    50: '#7b7bcd',
    500: '#2e49b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e49b7;
$custom-light: #7b7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49b7",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 183
  },
  "hsl": {
    "h": 228.175,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.17647,
    "h": 268
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#2E49B7
secondary
#C8B879
accent
#C445E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E49B7

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

Preview Lab → · Contrast checker → · Palette generator →

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