#2E49BA#2E49BA

#2E49BA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.180 H 268.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2E49BA
RGBrgb(46, 73, 186)
HSLhsl(228, 60%, 45%)
HSVhsv(228, 75%, 73%)
CMYKcmyk(75.3%, 60.8%, 0%, 27.1%)
CIE-LABlab(35.77, 30.23, -62.43)
CIE-LCHlch(35.77, 69.37, 295.83°)
OKLaboklab(45.79% -0.0062 -0.1804)
OKLCHoklch(45.79% 0.18 268)
XYZxyz(12.3691, 8.8898, 47.5089)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49BA #BA9F2E
analogous
#2E8FBA #2E49BA #592EBA
triadic
#2E49BA #BA2E49 #49BA2E
tetradic
#2E49BA #BA2E8F #BA9F2E #2EBA59
square
#2E49BA #BA2E8F #BA9F2E #2EBA59
split-complementary
#2E49BA #BA592E #8FBA2E
monochromatic
#162258 #223689 #2E49BA #516AD4 #8294E0

Accessibility & contrast

On white

7.56
#2E49BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2E49BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49BA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49BA#FFFFFF#000000##FFFFFF
##2E49BA1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e49ba;
/* rgb */ color: rgb(46, 73, 186);
/* oklch */ color: oklch(45.8% 0.180 268.0);
Tailwind
colors: {
  custom: {
    50: '#7c7bd0',
    500: '#2e49ba',
    950: '#000000',
  },
}
SCSS
$custom: #2e49ba;
$custom-light: #7c7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49ba",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 228.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4579,
    "c": 0.18048,
    "h": 268
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#2E49BA
secondary
#C9BA7B
accent
#C544E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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