#2A589E#2A589E

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

Color values

HEX#2A589E
RGBrgb(42, 88, 158)
HSLhsl(216, 58%, 39%)
HSVhsv(216, 73%, 62%)
CMYKcmyk(73.4%, 44.3%, 0%, 38%)
CIE-LABlab(37.73, 9.17, -42.64)
CIE-LCHlch(37.73, 43.62, 282.14°)
OKLaboklab(46.59% -0.0244 -0.122)
OKLCHoklch(46.59% 0.124 258.7)
XYZxyz(10.6139, 9.9392, 33.7002)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A589E #9E702A
analogous
#2A929E #2A589E #362A9E
triadic
#2A589E #9E2A58 #589E2A
tetradic
#2A589E #9E2A92 #9E702A #2A9E36
square
#2A589E #9E2A92 #9E702A #2A9E36
split-complementary
#2A589E #9E362A #929E2A
monochromatic
#10223D #1D3D6E #2A589E #3A74CB #6B96D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A589E#FFFFFF#000000##FFFFFF
##2A589E1.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)
#355FA1
Deuteranopia (green-blind)
#20549D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a589e;
/* rgb */ color: rgb(42, 88, 158);
/* oklch */ color: oklch(46.6% 0.124 258.7);
Tailwind
colors: {
  custom: {
    50: '#7386bb',
    500: '#2a589e',
    950: '#000000',
  },
}
SCSS
$custom: #2a589e;
$custom-light: #7386bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a589e",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 216.207,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46594,
    "c": 0.12441,
    "h": 258.7
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

primary
#2A589E
secondary
#BE9B66
accent
#A447E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A589E

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

Preview Lab → · Contrast checker → · Palette generator →

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