#2E59C3#2E59C3

#2E59C3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.173 H 264.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2E59C3
RGBrgb(46, 89, 195)
HSLhsl(223, 62%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(76.4%, 54.4%, 0%, 23.5%)
CIE-LABlab(40.68, 23.15, -59.71)
CIE-LCHlch(40.68, 64.04, 291.19°)
OKLaboklab(49.69% -0.0172 -0.1721)
OKLCHoklch(49.69% 0.173 264.3)
XYZxyz(14.5459, 11.6641, 53.1040)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59C3 #C3982E
analogous
#2EA3C3 #2E59C3 #4E2EC3
triadic
#2E59C3 #C32E59 #59C32E
tetradic
#2E59C3 #C32EA3 #C3982E #2EC34E
square
#2E59C3 #C32EA3 #C3982E #2EC34E
split-complementary
#2E59C3 #C34E2E #A3C32E
monochromatic
#172C60 #224291 #2E59C3 #577CD7 #88A3E3

Accessibility & contrast

On white

6.30
#2E59C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2E59C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59C3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59C3#FFFFFF#000000##FFFFFF
##2E59C31.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e59c3;
/* rgb */ color: rgb(46, 89, 195);
/* oklch */ color: oklch(49.7% 0.173 264.3);
Tailwind
colors: {
  custom: {
    50: '#7d87d6',
    500: '#2e59c3',
    950: '#000000',
  },
}
SCSS
$custom: #2e59c3;
$custom-light: #7d87d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59c3",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 195
  },
  "hsl": {
    "h": 222.685,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49688,
    "c": 0.17298,
    "h": 264.3
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E59C3

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

Preview Lab → · Contrast checker → · Palette generator →

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