#2E59B7#2E59B7

#2E59B7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.157 H 263.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2E59B7
RGBrgb(46, 89, 183)
HSLhsl(221, 60%, 45%)
HSVhsv(221, 75%, 72%)
CMYKcmyk(74.9%, 51.4%, 0%, 28.2%)
CIE-LABlab(39.82, 18.61, -54.09)
CIE-LCHlch(39.82, 57.20, 288.98°)
OKLaboklab(48.77% -0.0183 -0.1556)
OKLCHoklch(48.77% 0.157 263.3)
XYZxyz(13.2433, 11.1430, 46.2434)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59B7 #B78C2E
analogous
#2E9DB7 #2E59B7 #482EB7
triadic
#2E59B7 #B72E59 #59B72E
tetradic
#2E59B7 #B72E9D #B78C2E #2EB748
square
#2E59B7 #B72E9D #B78C2E #2EB748
split-complementary
#2E59B7 #B7482E #9DB72E
monochromatic
#152955 #224186 #2E59B7 #4F79D3 #809EDF

Accessibility & contrast

On white

6.50
#2E59B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2E59B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59B7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59B7#FFFFFF#000000##FFFFFF
##2E59B71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D64BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e59b7;
/* rgb */ color: rgb(46, 89, 183);
/* oklch */ color: oklch(48.8% 0.157 263.3);
Tailwind
colors: {
  custom: {
    50: '#7a87cd',
    500: '#2e59b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e59b7;
$custom-light: #7a87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59b7",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 183
  },
  "hsl": {
    "h": 221.168,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48766,
    "c": 0.15668,
    "h": 263.3
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#2E59B7
secondary
#C8AF79
accent
#B145E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #2E59B7

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

Preview Lab → · Contrast checker → · Palette generator →

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