#2A5F77#2A5F77

#2A5F77 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.0% C 0.068 H 230.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2A5F77
RGBrgb(42, 95, 119)
HSLhsl(199, 48%, 32%)
HSVhsv(199, 65%, 47%)
CMYKcmyk(64.7%, 20.2%, 0%, 53.3%)
CIE-LABlab(37.86, -9.64, -18.79)
CIE-LCHlch(37.86, 21.12, 242.84°)
OKLaboklab(46.02% -0.0436 -0.0525)
OKLCHoklch(46.02% 0.068 230.3)
XYZxyz(8.3755, 10.0077, 18.9395)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F77 #77422A
analogous
#2A7769 #2A5F77 #2A3977
triadic
#2A5F77 #772A5F #5F772A
tetradic
#2A5F77 #692A77 #77422A #39772A
square
#2A5F77 #692A77 #77422A #39772A
split-complementary
#2A5F77 #772A39 #77692A
monochromatic
#0A171D #1A3B4A #2A5F77 #3A83A4 #58A2C4

Accessibility & contrast

On white

7.00
#2A5F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2A5F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5F77
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F77#FFFFFF#000000##FFFFFF
##2A5F771.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E78
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#006667
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5f77;
/* rgb */ color: rgb(42, 95, 119);
/* oklch */ color: oklch(46.0% 0.068 230.3);
Tailwind
colors: {
  custom: {
    50: '#6c8c9e',
    500: '#2a5f77',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f77;
$custom-light: #6c8c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f77",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 119
  },
  "hsl": {
    "h": 198.701,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.06822,
    "h": 230.3
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#2A5F77
secondary
#A96E54
accent
#7A50D7
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2A5F77

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

Preview Lab → · Contrast checker → · Palette generator →

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