#2A588B#2A588B

#2A588B is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.098 H 252.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2A588B
RGBrgb(42, 88, 139)
HSLhsl(212, 54%, 35%)
HSVhsv(212, 70%, 55%)
CMYKcmyk(69.8%, 36.7%, 0%, 45.5%)
CIE-LABlab(36.62, 1.95, -32.94)
CIE-LCHlch(36.62, 33.00, 273.39°)
OKLaboklab(45.37% -0.0289 -0.0935)
OKLCHoklch(45.37% 0.098 252.8)
XYZxyz(9.1031, 9.3348, 25.7431)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A588B #8B5D2A
analogous
#2A888B #2A588B #2C2A8B
triadic
#2A588B #8B2A58 #588B2A
tetradic
#2A588B #8B2A88 #8B5D2A #2A8B2C
square
#2A588B #8B2A88 #8B5D2A #2A8B2C
split-complementary
#2A588B #8B2C2A #888B2A
monochromatic
#0E1C2D #1C3A5C #2A588B #3876BA #6095CF

Accessibility & contrast

On white

7.32
#2A588B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2A588B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A588B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A588B#FFFFFF#000000##FFFFFF
##2A588B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#33528A
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a588b;
/* rgb */ color: rgb(42, 88, 139);
/* oklch */ color: oklch(45.4% 0.098 252.8);
Tailwind
colors: {
  custom: {
    50: '#6f86ad',
    500: '#2a588b',
    950: '#000000',
  },
}
SCSS
$custom: #2a588b;
$custom-light: #6f86ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a588b",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 139
  },
  "hsl": {
    "h": 211.546,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45368,
    "c": 0.09792,
    "h": 252.8
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#2A588B
secondary
#B58B5C
accent
#984BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A588B

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

Preview Lab → · Contrast checker → · Palette generator →

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