#2A5671#2A5671

#2A5671 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.4% C 0.066 H 237.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2A5671
RGBrgb(42, 86, 113)
HSLhsl(203, 46%, 30%)
HSVhsv(203, 63%, 44%)
CMYKcmyk(62.8%, 23.9%, 0%, 55.7%)
CIE-LABlab(34.68, -6.28, -19.99)
CIE-LCHlch(34.68, 20.95, 252.56°)
OKLaboklab(43.41% -0.0352 -0.056)
OKLCHoklch(43.41% 0.066 237.9)
XYZxyz(7.2621, 8.3394, 16.8465)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5671 #71452A
analogous
#2A7168 #2A5671 #2A3271
triadic
#2A5671 #712A56 #56712A
tetradic
#2A5671 #682A71 #71452A #32712A
square
#2A5671 #682A71 #71452A #32712A
split-complementary
#2A5671 #712A32 #71682A
monochromatic
#091218 #193444 #2A5671 #3B789E #5597C0

Accessibility & contrast

On white

7.87
#2A5671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A5671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5671
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5671#FFFFFF#000000##FFFFFF
##2A56711.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#404E71
Tritanopia (blue-blind)
#005D5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5671;
/* rgb */ color: rgb(42, 86, 113);
/* oklch */ color: oklch(43.4% 0.066 237.9);
Tailwind
colors: {
  custom: {
    50: '#6b859a',
    500: '#2a5671',
    950: '#000000',
  },
}
SCSS
$custom: #2a5671;
$custom-light: #6b859a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5671",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 113
  },
  "hsl": {
    "h": 202.817,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43409,
    "c": 0.06612,
    "h": 237.9
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#2A5671
secondary
#A37254
accent
#8452D5
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5671

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

Preview Lab → · Contrast checker → · Palette generator →

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