#2A589C#2A589C

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

Color values

HEX#2A589C
RGBrgb(42, 88, 156)
HSLhsl(216, 58%, 39%)
HSVhsv(216, 73%, 61%)
CMYKcmyk(73.1%, 43.6%, 0%, 38.8%)
CIE-LABlab(37.61, 8.40, -41.64)
CIE-LCHlch(37.61, 42.48, 281.41°)
OKLaboklab(46.46% -0.0248 -0.1191)
OKLCHoklch(46.46% 0.122 258.2)
XYZxyz(10.4431, 9.8709, 32.8009)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A589C #9C6E2A
analogous
#2A919C #2A589C #352A9C
triadic
#2A589C #9C2A58 #589C2A
tetradic
#2A589C #9C2A91 #9C6E2A #2A9C35
square
#2A589C #9C2A91 #9C6E2A #2A9C35
split-complementary
#2A589C #9C352A #919C2A
monochromatic
#10223C #1D3D6C #2A589C #3974CA #6A96D7

Accessibility & contrast

On white

7.06
#2A589C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A589C
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A589C#FFFFFF#000000##FFFFFF
##2A589C1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#23549B
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a589c;
/* rgb */ color: rgb(42, 88, 156);
/* oklch */ color: oklch(46.5% 0.122 258.2);
Tailwind
colors: {
  custom: {
    50: '#7386ba',
    500: '#2a589c',
    950: '#000000',
  },
}
SCSS
$custom: #2a589c;
$custom-light: #7386ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a589c",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 215.789,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46458,
    "c": 0.12162,
    "h": 258.2
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#2A589C
secondary
#BD9965
accent
#A347E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A589C

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

Preview Lab → · Contrast checker → · Palette generator →

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