#2E50BC#2E50BC

#2E50BC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.175 H 266.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2E50BC
RGBrgb(46, 80, 188)
HSLhsl(226, 61%, 46%)
HSVhsv(226, 76%, 74%)
CMYKcmyk(75.5%, 57.4%, 0%, 26.3%)
CIE-LABlab(37.75, 26.40, -60.38)
CIE-LCHlch(37.75, 65.90, 293.61°)
OKLaboklab(47.32% -0.0111 -0.1743)
OKLCHoklch(47.32% 0.175 266.4)
XYZxyz(13.0693, 9.9476, 48.7985)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E50BC #BC9A2E
analogous
#2E97BC #2E50BC #532EBC
triadic
#2E50BC #BC2E50 #50BC2E
tetradic
#2E50BC #BC2E97 #BC9A2E #2EBC53
square
#2E50BC #BC2E97 #BC9A2E #2EBC53
split-complementary
#2E50BC #BC532E #97BC2E
monochromatic
#16265A #223B8B #2E50BC #5272D5 #849AE1

Accessibility & contrast

On white

7.02
#2E50BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2E50BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E50BC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E50BC#FFFFFF#000000##FFFFFF
##2E50BC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e50bc;
/* rgb */ color: rgb(46, 80, 188);
/* oklch */ color: oklch(47.3% 0.175 266.4);
Tailwind
colors: {
  custom: {
    50: '#7c80d1',
    500: '#2e50bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e50bc;
$custom-light: #7c80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e50bc",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 225.634,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.17461,
    "h": 266.4
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#2E50BC
secondary
#CAB77C
accent
#BE44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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