#2A589B#2A589B

#2A589B is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.120 H 258.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2A589B
RGBrgb(42, 88, 155)
HSLhsl(216, 57%, 39%)
HSVhsv(216, 73%, 61%)
CMYKcmyk(72.9%, 43.2%, 0%, 39.2%)
CIE-LABlab(37.55, 8.02, -41.14)
CIE-LCHlch(37.55, 41.91, 281.03°)
OKLaboklab(46.39% -0.025 -0.1176)
OKLCHoklch(46.39% 0.12 258)
XYZxyz(10.3588, 9.8371, 32.3568)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A589B #9B6D2A
analogous
#2A909B #2A589B #342A9B
triadic
#2A589B #9B2A58 #589B2A
tetradic
#2A589B #9B2A90 #9B6D2A #2A9B34
square
#2A589B #9B2A90 #9B6D2A #2A9B34
split-complementary
#2A589B #9B342A #909B2A
monochromatic
#10213B #1D3D6B #2A589B #3974C9 #6996D6

Accessibility & contrast

On white

7.08
#2A589B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2A589B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A589B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A589B#FFFFFF#000000##FFFFFF
##2A589B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a589b;
/* rgb */ color: rgb(42, 88, 155);
/* oklch */ color: oklch(46.4% 0.120 258.0);
Tailwind
colors: {
  custom: {
    50: '#7286b9',
    500: '#2a589b',
    950: '#000000',
  },
}
SCSS
$custom: #2a589b;
$custom-light: #7286b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a589b",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 215.575,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46391,
    "c": 0.12021,
    "h": 258
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#2A589B
secondary
#BD9964
accent
#A247E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A589B

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

Preview Lab → · Contrast checker → · Palette generator →

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