#2E59C2#2E59C2

#2E59C2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.172 H 264.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2E59C2
RGBrgb(46, 89, 194)
HSLhsl(223, 62%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(76.3%, 54.1%, 0%, 23.9%)
CIE-LABlab(40.60, 22.77, -59.25)
CIE-LCHlch(40.60, 63.47, 291.02°)
OKLaboklab(49.61% -0.0172 -0.1708)
OKLCHoklch(49.61% 0.172 264.2)
XYZxyz(14.4332, 11.6190, 52.5105)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59C2 #C2972E
analogous
#2EA3C2 #2E59C2 #4D2EC2
triadic
#2E59C2 #C22E59 #59C22E
tetradic
#2E59C2 #C22EA3 #C2972E #2EC24D
square
#2E59C2 #C22EA3 #C2972E #2EC24D
split-complementary
#2E59C2 #C24D2E #A3C22E
monochromatic
#172C5F #224291 #2E59C2 #567CD7 #88A2E3

Accessibility & contrast

On white

6.32
#2E59C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2E59C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59C2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59C2#FFFFFF#000000##FFFFFF
##2E59C21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e59c2;
/* rgb */ color: rgb(46, 89, 194);
/* oklch */ color: oklch(49.6% 0.172 264.2);
Tailwind
colors: {
  custom: {
    50: '#7c87d5',
    500: '#2e59c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e59c2;
$custom-light: #7c87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59c2",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 222.568,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.17163,
    "h": 264.2
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#2E59C2
secondary
#CCB67F
accent
#B643E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E59C2

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

Preview Lab → · Contrast checker → · Palette generator →

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