#2E589F#2E589F

#2E589F is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.8% C 0.124 H 260.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2E589F
RGBrgb(46, 88, 159)
HSLhsl(218, 55%, 40%)
HSVhsv(218, 71%, 62%)
CMYKcmyk(71.1%, 44.7%, 0%, 37.6%)
CIE-LABlab(37.95, 10.15, -42.88)
CIE-LCHlch(37.95, 44.06, 283.32°)
OKLaboklab(46.83% -0.0211 -0.1226)
OKLCHoklch(46.83% 0.124 260.2)
XYZxyz(10.8722, 10.0624, 34.1634)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E589F #9F752E
analogous
#2E909F #2E589F #3C2E9F
triadic
#2E589F #9F2E58 #589F2E
tetradic
#2E589F #9F2E90 #9F752E #2E9F3C
square
#2E589F #9F2E90 #9F752E #2E9F3C
split-complementary
#2E589F #9F3C2E #909F2E
monochromatic
#132340 #203E70 #2E589F #4274C8 #7197D6

Accessibility & contrast

On white

6.97
#2E589F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E589F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E589F#FFFFFF#000000##FFFFFF
##2E589F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#21549E
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e589f;
/* rgb */ color: rgb(46, 88, 159);
/* oklch */ color: oklch(46.8% 0.124 260.2);
Tailwind
colors: {
  custom: {
    50: '#7586bc',
    500: '#2e589f',
    950: '#000000',
  },
}
SCSS
$custom: #2e589f;
$custom-light: #7586bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e589f",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 217.699,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46829,
    "c": 0.12444,
    "h": 260.2
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#2E589F
secondary
#BE9F6B
accent
#A749DE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E589F

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

Preview Lab → · Contrast checker → · Palette generator →

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