#2E50A4#2E50A4

#2E50A4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.141 H 264.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2E50A4
RGBrgb(46, 80, 164)
HSLhsl(223, 56%, 41%)
HSVhsv(223, 72%, 64%)
CMYKcmyk(72%, 51.2%, 0%, 35.7%)
CIE-LABlab(35.98, 17.33, -49.04)
CIE-LCHlch(35.98, 52.02, 289.46°)
OKLaboklab(45.42% -0.0129 -0.1409)
OKLCHoklch(45.42% 0.141 264.8)
XYZxyz(10.6939, 8.9974, 36.2878)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50A4 #A4822E
analogous
#2E8BA4 #2E50A4 #472EA4
triadic
#2E50A4 #A42E50 #50A42E
tetradic
#2E50A4 #A42E8B #A4822E #2EA447
square
#2E50A4 #A42E8B #A4822E #2EA447
split-complementary
#2E50A4 #A4472E #8BA42E
monochromatic
#132144 #213974 #2E50A4 #456BCB #7491D8

Accessibility & contrast

On white

7.50
#2E50A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E50A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50A4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50A4#FFFFFF#000000##FFFFFF
##2E50A41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5AA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e50a4;
/* rgb */ color: rgb(46, 80, 164);
/* oklch */ color: oklch(45.4% 0.141 264.8);
Tailwind
colors: {
  custom: {
    50: '#7680c0',
    500: '#2e50a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e50a4;
$custom-light: #7680c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50a4",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 164
  },
  "hsl": {
    "h": 222.712,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.14149,
    "h": 264.8
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#2E50A4
secondary
#C0A86E
accent
#B448DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E50A4

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

Preview Lab → · Contrast checker → · Palette generator →

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