#2E559F#2E559F

#2E559F is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.128 H 261.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2E559F
RGBrgb(46, 85, 159)
HSLhsl(219, 55%, 40%)
HSVhsv(219, 71%, 62%)
CMYKcmyk(71.1%, 46.5%, 0%, 37.6%)
CIE-LABlab(37.08, 12.12, -44.28)
CIE-LCHlch(37.08, 45.91, 285.31°)
OKLaboklab(46.15% -0.0182 -0.1268)
OKLCHoklch(46.15% 0.128 261.8)
XYZxyz(10.6310, 9.5799, 34.0830)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E559F #9F782E
analogous
#2E8D9F #2E559F #3F2E9F
triadic
#2E559F #9F2E55 #559F2E
tetradic
#2E559F #9F2E8D #9F782E #2E9F3F
square
#2E559F #9F2E8D #9F782E #2E9F3F
split-complementary
#2E559F #9F3F2E #8D9F2E
monochromatic
#132240 #203C70 #2E559F #4270C8 #7194D6

Accessibility & contrast

On white

7.20
#2E559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2E559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E559F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E559F#FFFFFF#000000##FFFFFF
##2E559F1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#18529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e559f;
/* rgb */ color: rgb(46, 85, 159);
/* oklch */ color: oklch(46.2% 0.128 261.8);
Tailwind
colors: {
  custom: {
    50: '#7584bc',
    500: '#2e559f',
    950: '#000000',
  },
}
SCSS
$custom: #2e559f;
$custom-light: #7584bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e559f",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 219.292,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.12812,
    "h": 261.8
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#2E559F
secondary
#BEA16B
accent
#AB49DE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E559F

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

Preview Lab → · Contrast checker → · Palette generator →

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