#2A588E#2A588E

#2A588E is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.102 H 254.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2A588E
RGBrgb(42, 88, 142)
HSLhsl(212, 54%, 36%)
HSVhsv(212, 70%, 56%)
CMYKcmyk(70.4%, 38%, 0%, 44.3%)
CIE-LABlab(36.79, 3.08, -34.50)
CIE-LCHlch(36.79, 34.64, 275.10°)
OKLaboklab(45.55% -0.0281 -0.0981)
OKLCHoklch(45.55% 0.102 254)
XYZxyz(9.3253, 9.4237, 26.9134)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A588E #8E602A
analogous
#2A8A8E #2A588E #2E2A8E
triadic
#2A588E #8E2A58 #588E2A
tetradic
#2A588E #8E2A8A #8E602A #2A8E2E
square
#2A588E #8E2A8A #8E602A #2A8E2E
split-complementary
#2A588E #8E2E2A #8A8E2A
monochromatic
#0E1D30 #1C3B5F #2A588E #3875BD #6295D1

Accessibility & contrast

On white

7.28
#2A588E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2A588E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A588E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A588E#FFFFFF#000000##FFFFFF
##2A588E1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a588e;
/* rgb */ color: rgb(42, 88, 142);
/* oklch */ color: oklch(45.6% 0.102 254.0);
Tailwind
colors: {
  custom: {
    50: '#7086af',
    500: '#2a588e',
    950: '#000000',
  },
}
SCSS
$custom: #2a588e;
$custom-light: #7086af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a588e",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 142
  },
  "hsl": {
    "h": 212.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.10205,
    "h": 254
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#2A588E
secondary
#B68D5D
accent
#9A4ADE
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A588E

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

Preview Lab → · Contrast checker → · Palette generator →

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