#2A578F#2A578F

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

Color values

HEX#2A578F
RGBrgb(42, 87, 143)
HSLhsl(213, 55%, 36%)
HSVhsv(213, 71%, 56%)
CMYKcmyk(70.6%, 39.2%, 0%, 43.9%)
CIE-LABlab(36.54, 4.10, -35.51)
CIE-LCHlch(36.54, 35.74, 276.59°)
OKLaboklab(45.38% -0.0268 -0.1011)
OKLCHoklch(45.38% 0.105 255.1)
XYZxyz(9.3192, 9.2908, 27.2835)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A578F #8F622A
analogous
#2A8A8F #2A578F #2F2A8F
triadic
#2A578F #8F2A57 #578F2A
tetradic
#2A578F #8F2A8A #8F622A #2A8F2F
square
#2A578F #8F2A8A #8F622A #2A8F2F
split-complementary
#2A578F #8F2F2A #8A8F2A
monochromatic
#0E1D30 #1C3A60 #2A578F #3874BE #6294D1

Accessibility & contrast

On white

7.35
#2A578F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A578F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A578F#FFFFFF#000000##FFFFFF
##2A578F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#2F528E
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a578f;
/* rgb */ color: rgb(42, 87, 143);
/* oklch */ color: oklch(45.4% 0.105 255.1);
Tailwind
colors: {
  custom: {
    50: '#7086b0',
    500: '#2a578f',
    950: '#000000',
  },
}
SCSS
$custom: #2a578f;
$custom-light: #7086b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a578f",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 143
  },
  "hsl": {
    "h": 213.267,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45376,
    "c": 0.10456,
    "h": 255.1
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#2A578F
secondary
#B78F5E
accent
#9C4ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A578F

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

Preview Lab → · Contrast checker → · Palette generator →

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