#2E49B9#2E49B9

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

Color values

HEX#2E49B9
RGBrgb(46, 73, 185)
HSLhsl(228, 60%, 45%)
HSVhsv(228, 75%, 73%)
CMYKcmyk(75.1%, 60.5%, 0%, 27.5%)
CIE-LABlab(35.69, 29.86, -61.98)
CIE-LCHlch(35.69, 68.80, 295.72°)
OKLaboklab(45.7% -0.0062 -0.179)
OKLCHoklch(45.7% 0.179 268)
XYZxyz(12.2632, 8.8474, 46.9509)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49B9 #B99E2E
analogous
#2E8FB9 #2E49B9 #582EB9
triadic
#2E49B9 #B92E49 #49B92E
tetradic
#2E49B9 #B92E8F #B99E2E #2EB958
square
#2E49B9 #B92E8F #B99E2E #2EB958
split-complementary
#2E49B9 #B9582E #8FB92E
monochromatic
#162257 #223688 #2E49B9 #516AD4 #8294E0

Accessibility & contrast

On white

7.58
#2E49B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E49B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49B9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49B9#FFFFFF#000000##FFFFFF
##2E49B91.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e49b9;
/* rgb */ color: rgb(46, 73, 185);
/* oklch */ color: oklch(45.7% 0.179 268.0);
Tailwind
colors: {
  custom: {
    50: '#7b7bcf',
    500: '#2e49b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e49b9;
$custom-light: #7b7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49b9",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 185
  },
  "hsl": {
    "h": 228.345,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45704,
    "c": 0.17914,
    "h": 268
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#2E49B9
secondary
#C9BA7A
accent
#C444E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E49B9

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

Preview Lab → · Contrast checker → · Palette generator →

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