#2E559B#2E559B

#2E559B is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.122 H 261.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2E559B
RGBrgb(46, 85, 155)
HSLhsl(219, 54%, 39%)
HSVhsv(219, 70%, 61%)
CMYKcmyk(70.3%, 45.2%, 0%, 39.2%)
CIE-LABlab(36.82, 10.61, -42.29)
CIE-LCHlch(36.82, 43.60, 284.08°)
OKLaboklab(45.88% -0.019 -0.1209)
OKLCHoklch(45.88% 0.122 261.1)
XYZxyz(10.2895, 9.4433, 32.2845)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E559B #9B742E
analogous
#2E8C9B #2E559B #3E2E9B
triadic
#2E559B #9B2E55 #559B2E
tetradic
#2E559B #9B2E8C #9B742E #2E9B3E
square
#2E559B #9B2E8C #9B742E #2E9B3E
split-complementary
#2E559B #9B3E2E #8C9B2E
monochromatic
#12213D #203B6C #2E559B #4070C6 #6F93D4

Accessibility & contrast

On white

7.27
#2E559B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2E559B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E559B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E559B#FFFFFF#000000##FFFFFF
##2E559B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9E
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e559b;
/* rgb */ color: rgb(46, 85, 155);
/* oklch */ color: oklch(45.9% 0.122 261.1);
Tailwind
colors: {
  custom: {
    50: '#7484b9',
    500: '#2e559b',
    950: '#000000',
  },
}
SCSS
$custom: #2e559b;
$custom-light: #7484b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e559b",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 218.532,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.12242,
    "h": 261.1
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#2E559B
secondary
#BC9E69
accent
#A94ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E559B

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

Preview Lab → · Contrast checker → · Palette generator →

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