#2A589A#2A589A

#2A589A is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.119 H 257.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2A589A
RGBrgb(42, 88, 154)
HSLhsl(215, 57%, 38%)
HSVhsv(215, 73%, 60%)
CMYKcmyk(72.7%, 42.9%, 0%, 39.6%)
CIE-LABlab(37.49, 7.64, -40.64)
CIE-LCHlch(37.49, 41.35, 280.64°)
OKLaboklab(46.32% -0.0252 -0.1161)
OKLCHoklch(46.32% 0.119 257.7)
XYZxyz(10.2752, 9.8037, 31.9164)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A589A #9A6C2A
analogous
#2A909A #2A589A #342A9A
triadic
#2A589A #9A2A58 #589A2A
tetradic
#2A589A #9A2A90 #9A6C2A #2A9A34
square
#2A589A #9A2A90 #9A6C2A #2A9A34
split-complementary
#2A589A #9A342A #909A2A
monochromatic
#10213A #1D3D6A #2A589A #3874C9 #6895D6

Accessibility & contrast

On white

7.09
#2A589A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2A589A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A589A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A589A#FFFFFF#000000##FFFFFF
##2A589A1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#255399
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a589a;
/* rgb */ color: rgb(42, 88, 154);
/* oklch */ color: oklch(46.3% 0.119 257.7);
Tailwind
colors: {
  custom: {
    50: '#7286b8',
    500: '#2a589a',
    950: '#000000',
  },
}
SCSS
$custom: #2a589a;
$custom-light: #7286b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a589a",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 154
  },
  "hsl": {
    "h": 215.357,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46324,
    "c": 0.11881,
    "h": 257.7
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#2A589A
secondary
#BC9863
accent
#A247E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2A589A

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

Preview Lab → · Contrast checker → · Palette generator →

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