#2E50A2#2E50A2

#2E50A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.139 H 264.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2E50A2
RGBrgb(46, 80, 162)
HSLhsl(222, 56%, 41%)
HSVhsv(222, 72%, 64%)
CMYKcmyk(71.6%, 50.6%, 0%, 36.5%)
CIE-LABlab(35.84, 16.57, -48.07)
CIE-LCHlch(35.84, 50.85, 289.02°)
OKLaboklab(45.27% -0.0132 -0.138)
OKLCHoklch(45.27% 0.139 264.5)
XYZxyz(10.5147, 8.9257, 35.3441)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50A2 #A2802E
analogous
#2E8AA2 #2E50A2 #462EA2
triadic
#2E50A2 #A22E50 #50A22E
tetradic
#2E50A2 #A22E8A #A2802E #2EA246
square
#2E50A2 #A22E8A #A2802E #2EA246
split-complementary
#2E50A2 #A2462E #8AA22E
monochromatic
#132143 #203872 #2E50A2 #436BCA #7390D7

Accessibility & contrast

On white

7.54
#2E50A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E50A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50A2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50A2#FFFFFF#000000##FFFFFF
##2E50A21.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e50a2;
/* rgb */ color: rgb(46, 80, 162);
/* oklch */ color: oklch(45.3% 0.139 264.5);
Tailwind
colors: {
  custom: {
    50: '#7680be',
    500: '#2e50a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e50a2;
$custom-light: #7680be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50a2",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 222.414,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.13867,
    "h": 264.5
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#2E50A2
secondary
#BFA76D
accent
#B349DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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