#2A589D#2A589D

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

Color values

HEX#2A589D
RGBrgb(42, 88, 157)
HSLhsl(216, 58%, 39%)
HSVhsv(216, 73%, 62%)
CMYKcmyk(73.2%, 43.9%, 0%, 38.4%)
CIE-LABlab(37.67, 8.79, -42.14)
CIE-LCHlch(37.67, 43.05, 281.78°)
OKLaboklab(46.53% -0.0246 -0.1205)
OKLCHoklch(46.53% 0.123 258.5)
XYZxyz(10.5282, 9.9049, 33.2487)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A589D #9D6F2A
analogous
#2A929D #2A589D #362A9D
triadic
#2A589D #9D2A58 #589D2A
tetradic
#2A589D #9D2A92 #9D6F2A #2A9D36
square
#2A589D #9D2A92 #9D6F2A #2A9D36
split-complementary
#2A589D #9D362A #929D2A
monochromatic
#10223C #1D3D6D #2A589D #3A74CA #6A96D7

Accessibility & contrast

On white

7.04
#2A589D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2A589D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A589D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A589D#FFFFFF#000000##FFFFFF
##2A589D1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.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: #2a589d;
/* rgb */ color: rgb(42, 88, 157);
/* oklch */ color: oklch(46.5% 0.123 258.5);
Tailwind
colors: {
  custom: {
    50: '#7386ba',
    500: '#2a589d',
    950: '#000000',
  },
}
SCSS
$custom: #2a589d;
$custom-light: #7386ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a589d",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 216,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.12301,
    "h": 258.5
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#2A589D
secondary
#BE9A65
accent
#A347E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A589D

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

Preview Lab → · Contrast checker → · Palette generator →

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