#2E59A3#2E59A3

#2E59A3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.129 H 260.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2E59A3
RGBrgb(46, 89, 163)
HSLhsl(218, 56%, 41%)
HSVhsv(218, 72%, 64%)
CMYKcmyk(71.8%, 45.4%, 0%, 36.1%)
CIE-LABlab(38.50, 11.02, -44.40)
CIE-LCHlch(38.50, 45.75, 283.93°)
OKLaboklab(47.33% -0.0213 -0.1271)
OKLCHoklch(47.33% 0.129 260.5)
XYZxyz(11.3076, 10.3687, 36.0487)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59A3 #A3782E
analogous
#2E93A3 #2E59A3 #3D2EA3
triadic
#2E59A3 #A32E59 #59A32E
tetradic
#2E59A3 #A32E93 #A3782E #2EA33D
square
#2E59A3 #A32E93 #A3782E #2EA33D
split-complementary
#2E59A3 #A33D2E #93A32E
monochromatic
#132544 #213F73 #2E59A3 #4475CA #7498D8

Accessibility & contrast

On white

6.83
#2E59A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E59A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59A3
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59A3#FFFFFF#000000##FFFFFF
##2E59A31.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#1D56A1
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e59a3;
/* rgb */ color: rgb(46, 89, 163);
/* oklch */ color: oklch(47.3% 0.129 260.5);
Tailwind
colors: {
  custom: {
    50: '#7687bf',
    500: '#2e59a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e59a3;
$custom-light: #7687bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59a3",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 163
  },
  "hsl": {
    "h": 217.949,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.12885,
    "h": 260.5
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#2E59A3
secondary
#BFA16D
accent
#A849DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E59A3

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

Preview Lab → · Contrast checker → · Palette generator →

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