#2E50A5#2E50A5

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

Color values

HEX#2E50A5
RGBrgb(46, 80, 165)
HSLhsl(223, 56%, 41%)
HSVhsv(223, 72%, 65%)
CMYKcmyk(72.1%, 51.5%, 0%, 35.3%)
CIE-LABlab(36.05, 17.71, -49.53)
CIE-LCHlch(36.05, 52.60, 289.68°)
OKLaboklab(45.5% -0.0128 -0.1423)
OKLCHoklch(45.5% 0.143 264.8)
XYZxyz(10.7845, 9.0337, 36.7653)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50A5 #A5832E
analogous
#2E8CA5 #2E50A5 #482EA5
triadic
#2E50A5 #A52E50 #50A52E
tetradic
#2E50A5 #A52E8C #A5832E #2EA548
square
#2E50A5 #A52E8C #A5832E #2EA548
split-complementary
#2E50A5 #A5482E #8CA52E
monochromatic
#132245 #213975 #2E50A5 #456BCB #7591D8

Accessibility & contrast

On white

7.48
#2E50A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E50A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50A5
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50A5#FFFFFF#000000##FFFFFF
##2E50A51.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e50a5;
/* rgb */ color: rgb(46, 80, 165);
/* oklch */ color: oklch(45.5% 0.143 264.8);
Tailwind
colors: {
  custom: {
    50: '#7680c0',
    500: '#2e50a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e50a5;
$custom-light: #7680c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50a5",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 222.857,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45496,
    "c": 0.14291,
    "h": 264.8
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#2E50A5
secondary
#C0A96F
accent
#B448E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E50A5

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

Preview Lab → · Contrast checker → · Palette generator →

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