#2E589D#2E589D

#2E589D is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.122 H 259.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2E589D
RGBrgb(46, 88, 157)
HSLhsl(217, 55%, 40%)
HSVhsv(217, 71%, 62%)
CMYKcmyk(70.7%, 43.9%, 0%, 38.4%)
CIE-LABlab(37.83, 9.40, -41.88)
CIE-LCHlch(37.83, 42.92, 282.65°)
OKLaboklab(46.69% -0.0215 -0.1197)
OKLCHoklch(46.69% 0.122 259.8)
XYZxyz(10.7001, 9.9935, 33.2568)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E589D #9D732E
analogous
#2E909D #2E589D #3B2E9D
triadic
#2E589D #9D2E58 #589D2E
tetradic
#2E589D #9D2E90 #9D732E #2E9D3B
square
#2E589D #9D2E90 #9D732E #2E9D3B
split-complementary
#2E589D #9D3B2E #909D2E
monochromatic
#12233E #203D6E #2E589D #4174C7 #7096D5

Accessibility & contrast

On white

7.00
#2E589D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2E589D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E589D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E589D#FFFFFF#000000##FFFFFF
##2E589D1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#23549C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e589d;
/* rgb */ color: rgb(46, 88, 157);
/* oklch */ color: oklch(46.7% 0.122 259.8);
Tailwind
colors: {
  custom: {
    50: '#7486ba',
    500: '#2e589d',
    950: '#000000',
  },
}
SCSS
$custom: #2e589d;
$custom-light: #7486ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e589d",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 217.297,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46693,
    "c": 0.12161,
    "h": 259.8
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#2E589D
secondary
#BD9D6A
accent
#A64ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E589D

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

Preview Lab → · Contrast checker → · Palette generator →

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