#2E50AB#2E50AB

#2E50AB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.151 H 265.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2E50AB
RGBrgb(46, 80, 171)
HSLhsl(224, 58%, 43%)
HSVhsv(224, 73%, 67%)
CMYKcmyk(73.1%, 53.2%, 0%, 32.9%)
CIE-LABlab(36.47, 19.99, -52.42)
CIE-LCHlch(36.47, 56.10, 290.87°)
OKLaboklab(45.96% -0.0122 -0.1508)
OKLCHoklch(45.96% 0.151 265.4)
XYZxyz(11.3435, 9.2572, 39.7092)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50AB #AB892E
analogous
#2E8FAB #2E50AB #4A2EAB
triadic
#2E50AB #AB2E50 #50AB2E
tetradic
#2E50AB #AB2E8F #AB892E #2EAB4A
square
#2E50AB #AB2E8F #AB892E #2EAB4A
split-complementary
#2E50AB #AB4A2E #8FAB2E
monochromatic
#14234B #21397B #2E50AB #486DCE #7993DB

Accessibility & contrast

On white

7.36
#2E50AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2E50AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50AB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50AB#FFFFFF#000000##FFFFFF
##2E50AB1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e50ab;
/* rgb */ color: rgb(46, 80, 171);
/* oklch */ color: oklch(46.0% 0.151 265.4);
Tailwind
colors: {
  custom: {
    50: '#7880c5',
    500: '#2e50ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e50ab;
$custom-light: #7880c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50ab",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 223.68,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.15132,
    "h": 265.4
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#2E50AB
secondary
#C3AD72
accent
#B747E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E50AB

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

Preview Lab → · Contrast checker → · Palette generator →

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