#2A5E71#2A5E71

#2A5E71 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.5% C 0.063 H 224.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2A5E71
RGBrgb(42, 94, 113)
HSLhsl(196, 46%, 30%)
HSVhsv(196, 63%, 44%)
CMYKcmyk(62.8%, 16.8%, 0%, 55.7%)
CIE-LABlab(37.28, -11.10, -15.99)
CIE-LCHlch(37.28, 19.46, 235.22°)
OKLaboklab(45.48% -0.0448 -0.0445)
OKLCHoklch(45.48% 0.063 224.8)
XYZxyz(7.9370, 9.6891, 17.0715)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E71 #713D2A
analogous
#2A7160 #2A5E71 #2A3B71
triadic
#2A5E71 #712A5E #5E712A
tetradic
#2A5E71 #602A71 #713D2A #3B712A
square
#2A5E71 #602A71 #713D2A #3B712A
split-complementary
#2A5E71 #712A3B #71602A
monochromatic
#091418 #193944 #2A5E71 #3B839E #55A3C0

Accessibility & contrast

On white

7.15
#2A5E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2A5E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E71
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E71#FFFFFF#000000##FFFFFF
##2A5E711.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C72
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#006464
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5e71;
/* rgb */ color: rgb(42, 94, 113);
/* oklch */ color: oklch(45.5% 0.063 224.8);
Tailwind
colors: {
  custom: {
    50: '#6b8b99',
    500: '#2a5e71',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e71;
$custom-light: #6b8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e71",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 113
  },
  "hsl": {
    "h": 196.056,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.06318,
    "h": 224.8
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#2A5E71
secondary
#A36954
accent
#7552D5
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2A5E71

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

Preview Lab → · Contrast checker → · Palette generator →

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