#2E59A4#2E59A4

#2E59A4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.130 H 260.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2E59A4
RGBrgb(46, 89, 164)
HSLhsl(218, 56%, 41%)
HSVhsv(218, 72%, 64%)
CMYKcmyk(72%, 45.7%, 0%, 35.7%)
CIE-LABlab(38.56, 11.39, -44.89)
CIE-LCHlch(38.56, 46.32, 284.24°)
OKLaboklab(47.4% -0.0211 -0.1285)
OKLCHoklch(47.4% 0.13 260.7)
XYZxyz(11.3975, 10.4047, 36.5224)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59A4 #A4792E
analogous
#2E94A4 #2E59A4 #3E2EA4
triadic
#2E59A4 #A42E59 #59A42E
tetradic
#2E59A4 #A42E94 #A4792E #2EA43E
square
#2E59A4 #A42E94 #A4792E #2EA43E
split-complementary
#2E59A4 #A43E2E #94A42E
monochromatic
#132544 #213F74 #2E59A4 #4575CB #7499D8

Accessibility & contrast

On white

6.82
#2E59A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2E59A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59A4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59A4#FFFFFF#000000##FFFFFF
##2E59A41.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#1C56A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e59a4;
/* rgb */ color: rgb(46, 89, 164);
/* oklch */ color: oklch(47.4% 0.130 260.7);
Tailwind
colors: {
  custom: {
    50: '#7687bf',
    500: '#2e59a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e59a4;
$custom-light: #7687bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59a4",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 164
  },
  "hsl": {
    "h": 218.136,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.13027,
    "h": 260.7
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#2E59A4
secondary
#C0A26E
accent
#A848DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E59A4

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

Preview Lab → · Contrast checker → · Palette generator →

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