#2A5673#2A5673

#2A5673 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.5% C 0.068 H 239.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2A5673
RGBrgb(42, 86, 115)
HSLhsl(204, 46%, 31%)
HSVhsv(204, 63%, 45%)
CMYKcmyk(63.5%, 25.2%, 0%, 54.9%)
CIE-LABlab(34.77, -5.57, -21.09)
CIE-LCHlch(34.77, 21.81, 255.20°)
OKLaboklab(43.51% -0.0344 -0.0591)
OKLCHoklch(43.51% 0.068 239.8)
XYZxyz(7.3760, 8.3849, 17.4461)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5673 #73472A
analogous
#2A736B #2A5673 #2A3173
triadic
#2A5673 #732A56 #56732A
tetradic
#2A5673 #6B2A73 #73472A #31732A
square
#2A5673 #6B2A73 #73472A #31732A
split-complementary
#2A5673 #732A31 #736B2A
monochromatic
#091319 #1A3446 #2A5673 #3A78A0 #5697C1

Accessibility & contrast

On white

7.84
#2A5673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2A5673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5673
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5673#FFFFFF#000000##FFFFFF
##2A56731.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495674
Deuteranopia (green-blind)
#3F4F72
Tritanopia (blue-blind)
#005D60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5673;
/* rgb */ color: rgb(42, 86, 115);
/* oklch */ color: oklch(43.5% 0.068 239.8);
Tailwind
colors: {
  custom: {
    50: '#6b859b',
    500: '#2a5673',
    950: '#000000',
  },
}
SCSS
$custom: #2a5673;
$custom-light: #6b859b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5673",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 115
  },
  "hsl": {
    "h": 203.836,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.06844,
    "h": 239.8
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#2A5673
secondary
#A57454
accent
#8652D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5673

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

Preview Lab → · Contrast checker → · Palette generator →

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