#2E50AA#2E50AA

#2E50AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.150 H 265.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2E50AA
RGBrgb(46, 80, 170)
HSLhsl(224, 57%, 42%)
HSVhsv(224, 73%, 67%)
CMYKcmyk(72.9%, 52.9%, 0%, 33.3%)
CIE-LABlab(36.40, 19.61, -51.94)
CIE-LCHlch(36.40, 55.52, 290.68°)
OKLaboklab(45.88% -0.0123 -0.1494)
OKLCHoklch(45.88% 0.15 265.3)
XYZxyz(11.2485, 9.2193, 39.2091)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50AA #AA882E
analogous
#2E8EAA #2E50AA #4A2EAA
triadic
#2E50AA #AA2E50 #50AA2E
tetradic
#2E50AA #AA2E8E #AA882E #2EAA4A
square
#2E50AA #AA2E8E #AA882E #2EAA4A
split-complementary
#2E50AA #AA4A2E #8EAA2E
monochromatic
#14234A #21397A #2E50AA #486CCD #7893DA

Accessibility & contrast

On white

7.38
#2E50AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2E50AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50AA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50AA#FFFFFF#000000##FFFFFF
##2E50AA1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e50aa;
/* rgb */ color: rgb(46, 80, 170);
/* oklch */ color: oklch(45.9% 0.150 265.3);
Tailwind
colors: {
  custom: {
    50: '#7780c4',
    500: '#2e50aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e50aa;
$custom-light: #7780c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50aa",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 223.548,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.14993,
    "h": 265.3
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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