#2A5F72#2A5F72

#2A5F72 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.8% C 0.064 H 224.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2A5F72
RGBrgb(42, 95, 114)
HSLhsl(196, 46%, 31%)
HSVhsv(196, 63%, 45%)
CMYKcmyk(63.2%, 16.7%, 0%, 55.3%)
CIE-LABlab(37.65, -11.35, -16.04)
CIE-LCHlch(37.65, 19.65, 234.71°)
OKLaboklab(45.78% -0.0456 -0.0447)
OKLCHoklch(45.78% 0.064 224.4)
XYZxyz(8.0831, 9.8908, 17.3995)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F72 #723D2A
analogous
#2A7261 #2A5F72 #2A3B72
triadic
#2A5F72 #722A5F #5F722A
tetradic
#2A5F72 #612A72 #723D2A #3B722A
square
#2A5F72 #612A72 #723D2A #3B722A
split-complementary
#2A5F72 #722A3B #72612A
monochromatic
#091419 #1A3A45 #2A5F72 #3A849F #56A4C1

Accessibility & contrast

On white

7.05
#2A5F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2A5F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5F72
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F72#FFFFFF#000000##FFFFFF
##2A5F721.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D73
Deuteranopia (green-blind)
#4A5572
Tritanopia (blue-blind)
#006565
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5f72;
/* rgb */ color: rgb(42, 95, 114);
/* oklch */ color: oklch(45.8% 0.064 224.4);
Tailwind
colors: {
  custom: {
    50: '#6b8c9a',
    500: '#2a5f72',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f72;
$custom-light: #6b8c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f72",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 114
  },
  "hsl": {
    "h": 195.833,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.45784,
    "c": 0.06384,
    "h": 224.4
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#2A5F72
secondary
#A46954
accent
#7552D6
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2A5F72

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

Preview Lab → · Contrast checker → · Palette generator →

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