#2A588A#2A588A

#2A588A is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.097 H 252.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2A588A
RGBrgb(42, 88, 138)
HSLhsl(211, 53%, 35%)
HSVhsv(211, 70%, 54%)
CMYKcmyk(69.6%, 36.2%, 0%, 45.9%)
CIE-LABlab(36.57, 1.57, -32.42)
CIE-LCHlch(36.57, 32.46, 272.78°)
OKLaboklab(45.31% -0.0292 -0.092)
OKLCHoklch(45.31% 0.097 252.4)
XYZxyz(9.0303, 9.3057, 25.3601)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A588A #8A5C2A
analogous
#2A888A #2A588A #2C2A8A
triadic
#2A588A #8A2A58 #588A2A
tetradic
#2A588A #8A2A88 #8A5C2A #2A8A2C
square
#2A588A #8A2A88 #8A5C2A #2A8A2C
split-complementary
#2A588A #8A2C2A #888A2A
monochromatic
#0D1C2C #1C3A5B #2A588A #3876B9 #6095CF

Accessibility & contrast

On white

7.34
#2A588A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2A588A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A588A
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A588A#FFFFFF#000000##FFFFFF
##2A588A1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a588a;
/* rgb */ color: rgb(42, 88, 138);
/* oklch */ color: oklch(45.3% 0.097 252.4);
Tailwind
colors: {
  custom: {
    50: '#6f86ac',
    500: '#2a588a',
    950: '#000000',
  },
}
SCSS
$custom: #2a588a;
$custom-light: #6f86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a588a",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 138
  },
  "hsl": {
    "h": 211.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.09655,
    "h": 252.4
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#2A588A
secondary
#B48A5B
accent
#974BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A588A

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

Preview Lab → · Contrast checker → · Palette generator →

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