#2E49B6#2E49B6

#2E49B6 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.175 H 268.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2E49B6
RGBrgb(46, 73, 182)
HSLhsl(228, 60%, 45%)
HSVhsv(228, 75%, 71%)
CMYKcmyk(74.7%, 59.9%, 0%, 28.6%)
CIE-LABlab(35.44, 28.74, -60.61)
CIE-LCHlch(35.44, 67.08, 295.37°)
OKLaboklab(45.45% -0.0062 -0.175)
OKLCHoklch(45.45% 0.175 268)
XYZxyz(11.9498, 8.7220, 45.3006)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E49B6 #B69B2E
analogous
#2E8DB6 #2E49B6 #572EB6
triadic
#2E49B6 #B62E49 #49B62E
tetradic
#2E49B6 #B62E8D #B69B2E #2EB657
square
#2E49B6 #B62E8D #B69B2E #2EB657
split-complementary
#2E49B6 #B6572E #8DB62E
monochromatic
#152254 #223585 #2E49B6 #4F69D2 #8093DF

Accessibility & contrast

On white

7.65
#2E49B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2E49B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E49B6
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E49B6#FFFFFF#000000##FFFFFF
##2E49B61.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e49b6;
/* rgb */ color: rgb(46, 73, 182);
/* oklch */ color: oklch(45.4% 0.175 268.0);
Tailwind
colors: {
  custom: {
    50: '#7b7bcd',
    500: '#2e49b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e49b6;
$custom-light: #7b7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e49b6",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 182
  },
  "hsl": {
    "h": 228.088,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.17513,
    "h": 268
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#2E49B6
secondary
#C8B878
accent
#C345E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E49B6

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

Preview Lab → · Contrast checker → · Palette generator →

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