#2E50A0#2E50A0

#2E50A0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.136 H 264.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2E50A0
RGBrgb(46, 80, 160)
HSLhsl(222, 55%, 40%)
HSVhsv(222, 71%, 63%)
CMYKcmyk(71.2%, 50%, 0%, 37.3%)
CIE-LABlab(35.70, 15.81, -47.09)
CIE-LCHlch(35.70, 49.68, 288.56°)
OKLaboklab(45.12% -0.0134 -0.1352)
OKLCHoklch(45.12% 0.136 264.3)
XYZxyz(10.3383, 8.8552, 34.4153)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50A0 #A07E2E
analogous
#2E89A0 #2E50A0 #452EA0
triadic
#2E50A0 #A02E50 #50A02E
tetradic
#2E50A0 #A02E89 #A07E2E #2EA045
square
#2E50A0 #A02E89 #A07E2E #2EA045
split-complementary
#2E50A0 #A0452E #89A02E
monochromatic
#132041 #203870 #2E50A0 #426AC9 #7290D6

Accessibility & contrast

On white

7.58
#2E50A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E50A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50A0
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50A0#FFFFFF#000000##FFFFFF
##2E50A01.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235AA3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e50a0;
/* rgb */ color: rgb(46, 80, 160);
/* oklch */ color: oklch(45.1% 0.136 264.3);
Tailwind
colors: {
  custom: {
    50: '#7580bd',
    500: '#2e50a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e50a0;
$custom-light: #7580bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50a0",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 160
  },
  "hsl": {
    "h": 222.105,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45123,
    "c": 0.13583,
    "h": 264.3
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#2E50A0
secondary
#BEA56C
accent
#B249DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E50A0

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

Preview Lab → · Contrast checker → · Palette generator →

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