#2E59B6#2E59B6

#2E59B6 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.155 H 263.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2E59B6
RGBrgb(46, 89, 182)
HSLhsl(221, 60%, 45%)
HSVhsv(221, 75%, 71%)
CMYKcmyk(74.7%, 51.1%, 0%, 28.6%)
CIE-LABlab(39.75, 18.23, -53.62)
CIE-LCHlch(39.75, 56.63, 288.78°)
OKLaboklab(48.69% -0.0184 -0.1542)
OKLCHoklch(48.69% 0.155 263.2)
XYZxyz(13.1396, 11.1016, 45.6972)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59B6 #B68B2E
analogous
#2E9DB6 #2E59B6 #472EB6
triadic
#2E59B6 #B62E59 #59B62E
tetradic
#2E59B6 #B62E9D #B68B2E #2EB647
square
#2E59B6 #B62E9D #B68B2E #2EB647
split-complementary
#2E59B6 #B6472E #9DB62E
monochromatic
#152954 #224185 #2E59B6 #4F78D2 #809EDF

Accessibility & contrast

On white

6.52
#2E59B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2E59B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59B6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59B6#FFFFFF#000000##FFFFFF
##2E59B61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F64B9
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e59b6;
/* rgb */ color: rgb(46, 89, 182);
/* oklch */ color: oklch(48.7% 0.155 263.2);
Tailwind
colors: {
  custom: {
    50: '#7a87cc',
    500: '#2e59b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e59b6;
$custom-light: #7a87cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59b6",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 182
  },
  "hsl": {
    "h": 221.029,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.1553,
    "h": 263.2
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#2E59B6
secondary
#C8AE78
accent
#B145E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E59B6

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

Preview Lab → · Contrast checker → · Palette generator →

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