#2E59AA#2E59AA

#2E59AA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.139 H 261.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2E59AA
RGBrgb(46, 89, 170)
HSLhsl(219, 57%, 42%)
HSVhsv(219, 73%, 67%)
CMYKcmyk(72.9%, 47.6%, 0%, 33.3%)
CIE-LABlab(38.94, 13.67, -47.84)
CIE-LCHlch(38.94, 49.76, 285.95°)
OKLaboklab(47.82% -0.0201 -0.1372)
OKLCHoklch(47.82% 0.139 261.7)
XYZxyz(11.9522, 10.6266, 39.4436)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59AA #AA7F2E
analogous
#2E97AA #2E59AA #412EAA
triadic
#2E59AA #AA2E59 #59AA2E
tetradic
#2E59AA #AA2E97 #AA7F2E #2EAA41
square
#2E59AA #AA2E97 #AA7F2E #2EAA41
split-complementary
#2E59AA #AA412E #97AA2E
monochromatic
#14274A #21407A #2E59AA #4876CD #789ADA

Accessibility & contrast

On white

6.72
#2E59AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2E59AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59AA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59AA#FFFFFF#000000##FFFFFF
##2E59AA1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#0E56A8
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e59aa;
/* rgb */ color: rgb(46, 89, 170);
/* oklch */ color: oklch(47.8% 0.139 261.7);
Tailwind
colors: {
  custom: {
    50: '#7787c4',
    500: '#2e59aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e59aa;
$custom-light: #7787c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59aa",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 170
  },
  "hsl": {
    "h": 219.194,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47816,
    "c": 0.13867,
    "h": 261.7
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#2E59AA
secondary
#C3A671
accent
#AB47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E59AA

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

Preview Lab → · Contrast checker → · Palette generator →

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