#2E59A2#2E59A2

#2E59A2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.127 H 260.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2E59A2
RGBrgb(46, 89, 162)
HSLhsl(218, 56%, 41%)
HSVhsv(218, 72%, 64%)
CMYKcmyk(71.6%, 45.1%, 0%, 36.5%)
CIE-LABlab(38.43, 10.64, -43.90)
CIE-LCHlch(38.43, 45.17, 283.62°)
OKLaboklab(47.26% -0.0215 -0.1256)
OKLCHoklch(47.26% 0.127 260.3)
XYZxyz(11.2183, 10.3331, 35.5787)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E59A2 #A2772E
analogous
#2E93A2 #2E59A2 #3D2EA2
triadic
#2E59A2 #A22E59 #59A22E
tetradic
#2E59A2 #A22E93 #A2772E #2EA23D
square
#2E59A2 #A22E93 #A2772E #2EA23D
split-complementary
#2E59A2 #A23D2E #93A22E
monochromatic
#132543 #203F72 #2E59A2 #4375CA #7398D7

Accessibility & contrast

On white

6.85
#2E59A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E59A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E59A2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E59A2#FFFFFF#000000##FFFFFF
##2E59A21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#1F56A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e59a2;
/* rgb */ color: rgb(46, 89, 162);
/* oklch */ color: oklch(47.3% 0.127 260.3);
Tailwind
colors: {
  custom: {
    50: '#7587be',
    500: '#2e59a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e59a2;
$custom-light: #7587be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e59a2",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 217.759,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47259,
    "c": 0.12745,
    "h": 260.3
  },
  "luminance": 0.10334
}

Semantic roles & 50–950 ramp

primary
#2E59A2
secondary
#BFA16D
accent
#A749DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E59A2

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

Preview Lab → · Contrast checker → · Palette generator →

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