#2E50AF#2E50AF

#2E50AF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.157 H 265.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2E50AF
RGBrgb(46, 80, 175)
HSLhsl(224, 58%, 43%)
HSVhsv(224, 74%, 69%)
CMYKcmyk(73.7%, 54.3%, 0%, 31.4%)
CIE-LABlab(36.77, 21.50, -54.32)
CIE-LCHlch(36.77, 58.42, 291.60°)
OKLaboklab(46.27% -0.0118 -0.1564)
OKLCHoklch(46.27% 0.157 265.7)
XYZxyz(11.7305, 9.4121, 41.7476)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50AF #AF8D2E
analogous
#2E90AF #2E50AF #4C2EAF
triadic
#2E50AF #AF2E50 #50AF2E
tetradic
#2E50AF #AF2E90 #AF8D2E #2EAF4C
square
#2E50AF #AF2E90 #AF8D2E #2EAF4C
split-complementary
#2E50AF #AF4C2E #90AF2E
monochromatic
#15244E #213A7F #2E50AF #4B6ED0 #7B95DC

Accessibility & contrast

On white

7.29
#2E50AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2E50AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50AF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50AF#FFFFFF#000000##FFFFFF
##2E50AF1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e50af;
/* rgb */ color: rgb(46, 80, 175);
/* oklch */ color: oklch(46.3% 0.157 265.7);
Tailwind
colors: {
  custom: {
    50: '#7980c8',
    500: '#2e50af',
    950: '#000000',
  },
}
SCSS
$custom: #2e50af;
$custom-light: #7980c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50af",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 224.186,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.15688,
    "h": 265.7
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#2E50AF
secondary
#C5AF74
accent
#B946E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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