#2E589B#2E589B

#2E589B is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.6% C 0.119 H 259.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2E589B
RGBrgb(46, 88, 155)
HSLhsl(217, 54%, 39%)
HSVhsv(217, 70%, 61%)
CMYKcmyk(70.3%, 43.2%, 0%, 39.2%)
CIE-LABlab(37.71, 8.64, -40.87)
CIE-LCHlch(37.71, 41.78, 281.94°)
OKLaboklab(46.56% -0.0219 -0.1167)
OKLCHoklch(46.56% 0.119 259.4)
XYZxyz(10.5307, 9.9258, 32.3649)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E589B #9B712E
analogous
#2E8F9B #2E589B #3B2E9B
triadic
#2E589B #9B2E58 #589B2E
tetradic
#2E589B #9B2E8F #9B712E #2E9B3B
square
#2E589B #9B2E8F #9B712E #2E9B3B
split-complementary
#2E589B #9B3B2E #8F9B2E
monochromatic
#12223D #203D6C #2E589B #4074C6 #6F96D4

Accessibility & contrast

On white

7.03
#2E589B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2E589B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E589B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E589B#FFFFFF#000000##FFFFFF
##2E589B1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#26549A
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e589b;
/* rgb */ color: rgb(46, 88, 155);
/* oklch */ color: oklch(46.6% 0.119 259.4);
Tailwind
colors: {
  custom: {
    50: '#7486b9',
    500: '#2e589b',
    950: '#000000',
  },
}
SCSS
$custom: #2e589b;
$custom-light: #7486b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e589b",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 216.881,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4656,
    "c": 0.11878,
    "h": 259.4
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#2E589B
secondary
#BC9C69
accent
#A54ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E589B

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

Preview Lab → · Contrast checker → · Palette generator →

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