#2E50A8#2E50A8

#2E50A8 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.147 H 265.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2E50A8
RGBrgb(46, 80, 168)
HSLhsl(223, 57%, 42%)
HSVhsv(223, 73%, 66%)
CMYKcmyk(72.6%, 52.4%, 0%, 34.1%)
CIE-LABlab(36.26, 18.85, -50.98)
CIE-LCHlch(36.26, 54.35, 290.29°)
OKLaboklab(45.72% -0.0125 -0.1466)
OKLCHoklch(45.72% 0.147 265.1)
XYZxyz(11.0608, 9.1442, 38.2203)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50A8 #A8862E
analogous
#2E8DA8 #2E50A8 #492EA8
triadic
#2E50A8 #A82E50 #50A82E
tetradic
#2E50A8 #A82E8D #A8862E #2EA849
square
#2E50A8 #A82E8D #A8862E #2EA849
split-complementary
#2E50A8 #A8492E #8DA82E
monochromatic
#142248 #213978 #2E50A8 #476CCD #7792DA

Accessibility & contrast

On white

7.42
#2E50A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2E50A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50A8
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50A8#FFFFFF#000000##FFFFFF
##2E50A81.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e50a8;
/* rgb */ color: rgb(46, 80, 168);
/* oklch */ color: oklch(45.7% 0.147 265.1);
Tailwind
colors: {
  custom: {
    50: '#7780c2',
    500: '#2e50a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e50a8;
$custom-light: #7780c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50a8",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 168
  },
  "hsl": {
    "h": 223.279,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45724,
    "c": 0.14712,
    "h": 265.1
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#2E50A8
secondary
#C2AB70
accent
#B648E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E50A8

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

Preview Lab → · Contrast checker → · Palette generator →

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