#2E589E#2E589E

#2E589E is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.123 H 260.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2E589E
RGBrgb(46, 88, 158)
HSLhsl(218, 55%, 40%)
HSVhsv(218, 71%, 62%)
CMYKcmyk(70.9%, 44.3%, 0%, 38%)
CIE-LABlab(37.89, 9.78, -42.38)
CIE-LCHlch(37.89, 43.49, 282.99°)
OKLaboklab(46.76% -0.0213 -0.1212)
OKLCHoklch(46.76% 0.123 260)
XYZxyz(10.7858, 10.0278, 33.7083)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E589E #9E742E
analogous
#2E909E #2E589E #3C2E9E
triadic
#2E589E #9E2E58 #589E2E
tetradic
#2E589E #9E2E90 #9E742E #2E9E3C
square
#2E589E #9E2E90 #9E742E #2E9E3C
split-complementary
#2E589E #9E3C2E #909E2E
monochromatic
#12233F #203E6F #2E589E #4174C8 #7197D6

Accessibility & contrast

On white

6.99
#2E589E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2E589E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E589E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E589E#FFFFFF#000000##FFFFFF
##2E589E1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#22549D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e589e;
/* rgb */ color: rgb(46, 88, 158);
/* oklch */ color: oklch(46.8% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#7586bb',
    500: '#2e589e',
    950: '#000000',
  },
}
SCSS
$custom: #2e589e;
$custom-light: #7586bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e589e",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 217.5,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.12302,
    "h": 260
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#2E589E
secondary
#BD9E6B
accent
#A64ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E589E

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

Preview Lab → · Contrast checker → · Palette generator →

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