#2A588D#2A588D

#2A588D is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.101 H 253.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2A588D
RGBrgb(42, 88, 141)
HSLhsl(212, 54%, 36%)
HSVhsv(212, 70%, 55%)
CMYKcmyk(70.2%, 37.6%, 0%, 44.7%)
CIE-LABlab(36.73, 2.70, -33.98)
CIE-LCHlch(36.73, 34.09, 274.54°)
OKLaboklab(45.49% -0.0284 -0.0966)
OKLCHoklch(45.49% 0.101 253.6)
XYZxyz(9.2505, 9.3938, 26.5198)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A588D #8D5F2A
analogous
#2A898D #2A588D #2D2A8D
triadic
#2A588D #8D2A58 #588D2A
tetradic
#2A588D #8D2A89 #8D5F2A #2A8D2D
square
#2A588D #8D2A89 #8D5F2A #2A8D2D
split-complementary
#2A588D #8D2D2A #898D2A
monochromatic
#0E1D2F #1C3B5E #2A588D #3875BC #6195D0

Accessibility & contrast

On white

7.29
#2A588D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2A588D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A588D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A588D#FFFFFF#000000##FFFFFF
##2A588D1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8F
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a588d;
/* rgb */ color: rgb(42, 88, 141);
/* oklch */ color: oklch(45.5% 0.101 253.6);
Tailwind
colors: {
  custom: {
    50: '#7086ae',
    500: '#2a588d',
    950: '#000000',
  },
}
SCSS
$custom: #2a588d;
$custom-light: #7086ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a588d",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 141
  },
  "hsl": {
    "h": 212.121,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.10068,
    "h": 253.6
  },
  "luminance": 0.09395
}

Semantic roles & 50–950 ramp

primary
#2A588D
secondary
#B68D5D
accent
#994ADD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A588D

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

Preview Lab → · Contrast checker → · Palette generator →

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