#2C5173#2C5173

#2C5173 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.3% C 0.071 H 247.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2C5173
RGBrgb(44, 81, 115)
HSLhsl(209, 45%, 31%)
HSVhsv(209, 62%, 45%)
CMYKcmyk(61.7%, 29.6%, 0%, 54.9%)
CIE-LABlab(33.26, -2.00, -23.44)
CIE-LCHlch(33.26, 23.52, 265.12°)
OKLaboklab(42.34% -0.0267 -0.0659)
OKLCHoklch(42.34% 0.071 247.9)
XYZxyz(7.0745, 7.6575, 17.3216)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5173 #734E2C
analogous
#2C7371 #2C5173 #2C2D73
triadic
#2C5173 #732C51 #51732C
tetradic
#2C5173 #712C73 #734E2C #2D732C
square
#2C5173 #712C73 #734E2C #2D732C
split-complementary
#2C5173 #732C2D #73712C
monochromatic
#0A131A #1B3247 #2C5173 #3D709F #5A8FC0

Accessibility & contrast

On white

8.30
#2C5173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C5173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5173
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5173#FFFFFF#000000##FFFFFF
##2C51731.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435275
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5173;
/* rgb */ color: rgb(44, 81, 115);
/* oklch */ color: oklch(42.3% 0.071 247.9);
Tailwind
colors: {
  custom: {
    50: '#6c819b',
    500: '#2c5173',
    950: '#000000',
  },
}
SCSS
$custom: #2c5173;
$custom-light: #6c819b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5173",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 208.732,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.07115,
    "h": 247.9
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#2C5173
secondary
#A57C56
accent
#9153D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C5173

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

Preview Lab → · Contrast checker → · Palette generator →

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