#2A578E#2A578E

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

Color values

HEX#2A578E
RGBrgb(42, 87, 142)
HSLhsl(213, 54%, 36%)
HSVhsv(213, 70%, 56%)
CMYKcmyk(70.4%, 38.7%, 0%, 44.3%)
CIE-LABlab(36.48, 3.72, -34.99)
CIE-LCHlch(36.48, 35.19, 276.07°)
OKLaboklab(45.31% -0.0271 -0.0995)
OKLCHoklch(45.31% 0.103 254.8)
XYZxyz(9.2437, 9.2607, 26.8863)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A578E #8E612A
analogous
#2A898E #2A578E #2F2A8E
triadic
#2A578E #8E2A57 #578E2A
tetradic
#2A578E #8E2A89 #8E612A #2A8E2F
square
#2A578E #8E2A89 #8E612A #2A8E2F
split-complementary
#2A578E #8E2F2A #898E2A
monochromatic
#0E1D30 #1C3A5F #2A578E #3874BD #6294D1

Accessibility & contrast

On white

7.36
#2A578E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2A578E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A578E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A578E#FFFFFF#000000##FFFFFF
##2A578E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#2F528D
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a578e;
/* rgb */ color: rgb(42, 87, 142);
/* oklch */ color: oklch(45.3% 0.103 254.8);
Tailwind
colors: {
  custom: {
    50: '#7086af',
    500: '#2a578e',
    950: '#000000',
  },
}
SCSS
$custom: #2a578e;
$custom-light: #7086af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a578e",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 142
  },
  "hsl": {
    "h": 213,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.10316,
    "h": 254.8
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#2A578E
secondary
#B68E5D
accent
#9B4ADE
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A578E

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

Preview Lab → · Contrast checker → · Palette generator →

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