#2E59A9#2E59A9

#2E59A9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.137 H 261.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2E59A9
RGBrgb(46, 89, 169)
HSLhsl(219, 57%, 42%)
HSVhsv(219, 73%, 66%)
CMYKcmyk(72.8%, 47.3%, 0%, 33.7%)
CIE-LABlab(38.88, 13.29, -47.35)
CIE-LCHlch(38.88, 49.18, 285.68°)
OKLaboklab(47.75% -0.0203 -0.1358)
OKLCHoklch(47.75% 0.137 261.5)
XYZxyz(11.8580, 10.5889, 38.9473)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59A9 #A97E2E
analogous
#2E97A9 #2E59A9 #402EA9
triadic
#2E59A9 #A92E59 #59A92E
tetradic
#2E59A9 #A92E97 #A97E2E #2EA940
square
#2E59A9 #A92E97 #A97E2E #2EA940
split-complementary
#2E59A9 #A9402E #97A92E
monochromatic
#142649 #214079 #2E59A9 #4776CD #779ADA

Accessibility & contrast

On white

6.74
#2E59A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2E59A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59A9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59A9#FFFFFF#000000##FFFFFF
##2E59A91.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#1156A7
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e59a9;
/* rgb */ color: rgb(46, 89, 169);
/* oklch */ color: oklch(47.7% 0.137 261.5);
Tailwind
colors: {
  custom: {
    50: '#7787c3',
    500: '#2e59a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e59a9;
$custom-light: #7787c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59a9",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 169
  },
  "hsl": {
    "h": 219.024,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.13727,
    "h": 261.5
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#2E59A9
secondary
#C2A671
accent
#AB47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2E59A9

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

Preview Lab → · Contrast checker → · Palette generator →

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