#2E59B2#2E59B2

#2E59B2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.150 H 262.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2E59B2
RGBrgb(46, 89, 178)
HSLhsl(220, 59%, 44%)
HSVhsv(220, 74%, 70%)
CMYKcmyk(74.2%, 50%, 0%, 30.2%)
CIE-LABlab(39.48, 16.71, -51.71)
CIE-LCHlch(39.48, 54.34, 287.91°)
OKLaboklab(48.39% -0.019 -0.1486)
OKLCHoklch(48.39% 0.15 262.7)
XYZxyz(12.7321, 10.9386, 43.5512)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59B2 #B2872E
analogous
#2E9BB2 #2E59B2 #452EB2
triadic
#2E59B2 #B22E59 #59B22E
tetradic
#2E59B2 #B22E9B #B2872E #2EB245
square
#2E59B2 #B22E9B #B2872E #2EB245
split-complementary
#2E59B2 #B2452E #9BB22E
monochromatic
#152851 #214181 #2E59B2 #4C78D1 #7D9CDD

Accessibility & contrast

On white

6.59
#2E59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2E59B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59B2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59B2#FFFFFF#000000##FFFFFF
##2E59B21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e59b2;
/* rgb */ color: rgb(46, 89, 178);
/* oklch */ color: oklch(48.4% 0.150 262.7);
Tailwind
colors: {
  custom: {
    50: '#7987ca',
    500: '#2e59b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e59b2;
$custom-light: #7987ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59b2",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 220.455,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48394,
    "c": 0.14979,
    "h": 262.7
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#2E59B2
secondary
#C6AC76
accent
#AF46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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