#2E59B4#2E59B4

#2E59B4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.153 H 263.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2E59B4
RGBrgb(46, 89, 180)
HSLhsl(221, 59%, 44%)
HSVhsv(221, 74%, 71%)
CMYKcmyk(74.4%, 50.6%, 0%, 29.4%)
CIE-LABlab(39.61, 17.47, -52.67)
CIE-LCHlch(39.61, 55.49, 288.35°)
OKLaboklab(48.54% -0.0187 -0.1514)
OKLCHoklch(48.54% 0.153 263)
XYZxyz(12.9344, 11.0195, 44.6165)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59B4 #B4892E
analogous
#2E9CB4 #2E59B4 #462EB4
triadic
#2E59B4 #B42E59 #59B42E
tetradic
#2E59B4 #B42E9C #B4892E #2EB446
square
#2E59B4 #B42E9C #B4892E #2EB446
split-complementary
#2E59B4 #B4462E #9CB42E
monochromatic
#152953 #224183 #2E59B4 #4E78D2 #7E9DDE

Accessibility & contrast

On white

6.55
#2E59B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2E59B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59B4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59B4#FFFFFF#000000##FFFFFF
##2E59B41.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B7
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e59b4;
/* rgb */ color: rgb(46, 89, 180);
/* oklch */ color: oklch(48.5% 0.153 263.0);
Tailwind
colors: {
  custom: {
    50: '#7987cb',
    500: '#2e59b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e59b4;
$custom-light: #7987cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59b4",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 180
  },
  "hsl": {
    "h": 220.746,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48542,
    "c": 0.15255,
    "h": 263
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#2E59B4
secondary
#C7AD77
accent
#B045E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E59B4

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

Preview Lab → · Contrast checker → · Palette generator →

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