#2D589F#2D589F

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

Color values

HEX#2D589F
RGBrgb(45, 88, 159)
HSLhsl(217, 56%, 40%)
HSVhsv(217, 72%, 62%)
CMYKcmyk(71.7%, 44.7%, 0%, 37.6%)
CIE-LABlab(37.91, 10.00, -42.95)
CIE-LCHlch(37.91, 44.10, 283.11°)
OKLaboklab(46.79% -0.0219 -0.1228)
OKLCHoklch(46.79% 0.125 259.9)
XYZxyz(10.8277, 10.0394, 34.1613)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D589F #9F742D
analogous
#2D919F #2D589F #3B2D9F
triadic
#2D589F #9F2D58 #589F2D
tetradic
#2D589F #9F2D91 #9F742D #2D9F3B
square
#2D589F #9F2D91 #9F742D #2D9F3B
split-complementary
#2D589F #9F3B2D #919F2D
monochromatic
#122340 #203E6F #2D589F #4074C9 #7097D6

Accessibility & contrast

On white

6.98
#2D589F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D589F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D589F#FFFFFF#000000##FFFFFF
##2D589F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d589f;
/* rgb */ color: rgb(45, 88, 159);
/* oklch */ color: oklch(46.8% 0.125 259.9);
Tailwind
colors: {
  custom: {
    50: '#7486bc',
    500: '#2d589f',
    950: '#000000',
  },
}
SCSS
$custom: #2d589f;
$custom-light: #7486bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d589f",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 217.368,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.12478,
    "h": 259.9
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#2D589F
secondary
#BE9E6A
accent
#A649DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D589F

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

Preview Lab → · Contrast checker → · Palette generator →

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