#2E559D#2E559D

#2E559D is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.125 H 261.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2E559D
RGBrgb(46, 85, 157)
HSLhsl(219, 55%, 40%)
HSVhsv(219, 71%, 62%)
CMYKcmyk(70.7%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.95, 11.36, -43.29)
CIE-LCHlch(36.95, 44.76, 284.71°)
OKLaboklab(46.01% -0.0186 -0.1239)
OKLCHoklch(46.01% 0.125 261.5)
XYZxyz(10.4588, 9.5111, 33.1764)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E559D #9D762E
analogous
#2E8D9D #2E559D #3F2E9D
triadic
#2E559D #9D2E55 #559D2E
tetradic
#2E559D #9D2E8D #9D762E #2E9D3F
square
#2E559D #9D2E8D #9D762E #2E9D3F
split-complementary
#2E559D #9D3F2E #8D9D2E
monochromatic
#12223E #203B6E #2E559D #4170C7 #7094D5

Accessibility & contrast

On white

7.24
#2E559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E559D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E559D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E559D#FFFFFF#000000##FFFFFF
##2E559D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#1C529C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e559d;
/* rgb */ color: rgb(46, 85, 157);
/* oklch */ color: oklch(46.0% 0.125 261.5);
Tailwind
colors: {
  custom: {
    50: '#7484ba',
    500: '#2e559d',
    950: '#000000',
  },
}
SCSS
$custom: #2e559d;
$custom-light: #7484ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e559d",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 218.919,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.12527,
    "h": 261.5
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#2E559D
secondary
#BDA06A
accent
#AA4ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E559D

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

Preview Lab → · Contrast checker → · Palette generator →

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