#2A589F#2A589F

#2A589F is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.126 H 258.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2A589F
RGBrgb(42, 88, 159)
HSLhsl(216, 58%, 39%)
HSVhsv(216, 74%, 62%)
CMYKcmyk(73.6%, 44.7%, 0%, 37.6%)
CIE-LABlab(37.80, 9.55, -43.14)
CIE-LCHlch(37.80, 44.19, 282.49°)
OKLaboklab(46.66% -0.0242 -0.1235)
OKLCHoklch(46.66% 0.126 258.9)
XYZxyz(10.7003, 9.9737, 34.1554)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A589F #9F712A
analogous
#2A939F #2A589F #362A9F
triadic
#2A589F #9F2A58 #589F2A
tetradic
#2A589F #9F2A93 #9F712A #2A9F36
square
#2A589F #9F2A93 #9F712A #2A9F36
split-complementary
#2A589F #9F362A #939F2A
monochromatic
#10223E #1D3D6F #2A589F #3B74CB #6B96D8

Accessibility & contrast

On white

7.01
#2A589F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A589F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A589F#FFFFFF#000000##FFFFFF
##2A589F1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#1F549E
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a589f;
/* rgb */ color: rgb(42, 88, 159);
/* oklch */ color: oklch(46.7% 0.126 258.9);
Tailwind
colors: {
  custom: {
    50: '#7386bc',
    500: '#2a589f',
    950: '#000000',
  },
}
SCSS
$custom: #2a589f;
$custom-light: #7386bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a589f",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 216.41,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46662,
    "c": 0.12582,
    "h": 258.9
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#2A589F
secondary
#BF9C66
accent
#A446E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A589F

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

Preview Lab → · Contrast checker → · Palette generator →

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