#2A588F#2A588F

#2A588F is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.6% C 0.103 H 254.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2A588F
RGBrgb(42, 88, 143)
HSLhsl(213, 55%, 36%)
HSVhsv(213, 71%, 56%)
CMYKcmyk(70.6%, 38.5%, 0%, 43.9%)
CIE-LABlab(36.84, 3.45, -35.02)
CIE-LCHlch(36.84, 35.19, 275.63°)
OKLaboklab(45.61% -0.0278 -0.0996)
OKLCHoklch(45.61% 0.103 254.4)
XYZxyz(9.4007, 9.4539, 27.3106)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A588F #8F612A
analogous
#2A8B8F #2A588F #2E2A8F
triadic
#2A588F #8F2A58 #588F2A
tetradic
#2A588F #8F2A8B #8F612A #2A8F2E
square
#2A588F #8F2A8B #8F612A #2A8F2E
split-complementary
#2A588F #8F2E2A #8B8F2A
monochromatic
#0E1E30 #1C3B60 #2A588F #3875BE #6295D1

Accessibility & contrast

On white

7.26
#2A588F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A588F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A588F#FFFFFF#000000##FFFFFF
##2A588F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a588f;
/* rgb */ color: rgb(42, 88, 143);
/* oklch */ color: oklch(45.6% 0.103 254.4);
Tailwind
colors: {
  custom: {
    50: '#7086b0',
    500: '#2a588f',
    950: '#000000',
  },
}
SCSS
$custom: #2a588f;
$custom-light: #7086b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a588f",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 212.673,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45614,
    "c": 0.10345,
    "h": 254.4
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

primary
#2A588F
secondary
#B78E5E
accent
#9A4ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A588F

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

Preview Lab → · Contrast checker → · Palette generator →

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