#2B589D#2B589D

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

Color values

HEX#2B589D
RGBrgb(43, 88, 157)
HSLhsl(216, 57%, 39%)
HSVhsv(216, 73%, 62%)
CMYKcmyk(72.6%, 43.9%, 0%, 38.4%)
CIE-LABlab(37.71, 8.93, -42.08)
CIE-LCHlch(37.71, 43.02, 281.99°)
OKLaboklab(46.57% -0.0238 -0.1203)
OKLCHoklch(46.57% 0.123 258.8)
XYZxyz(10.5696, 9.9262, 33.2507)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B589D #9D702B
analogous
#2B919D #2B589D #372B9D
triadic
#2B589D #9D2B58 #589D2B
tetradic
#2B589D #9D2B91 #9D702B #2B9D37
square
#2B589D #9D2B91 #9D702B #2B9D37
split-complementary
#2B589D #9D372B #919D2B
monochromatic
#11223D #1E3D6D #2B589D #3C74CA #6C96D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B589D#FFFFFF#000000##FFFFFF
##2B589D1.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)
#365EA0
Deuteranopia (green-blind)
#22549C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b589d;
/* rgb */ color: rgb(43, 88, 157);
/* oklch */ color: oklch(46.6% 0.123 258.8);
Tailwind
colors: {
  custom: {
    50: '#7386ba',
    500: '#2b589d',
    950: '#000000',
  },
}
SCSS
$custom: #2b589d;
$custom-light: #7386ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b589d",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 216.316,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46566,
    "c": 0.12267,
    "h": 258.8
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#2B589D
secondary
#BD9B66
accent
#A448E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B589D

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

Preview Lab → · Contrast checker → · Palette generator →

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