#2C5F84#2C5F84

#2C5F84 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.8% C 0.081 H 242.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2C5F84
RGBrgb(44, 95, 132)
HSLhsl(205, 50%, 35%)
HSVhsv(205, 67%, 52%)
CMYKcmyk(66.7%, 28%, 0%, 48.2%)
CIE-LABlab(38.52, -4.67, -25.69)
CIE-LCHlch(38.52, 26.11, 259.70°)
OKLaboklab(46.77% -0.0373 -0.0723)
OKLCHoklch(46.77% 0.081 242.7)
XYZxyz(9.2942, 10.3849, 23.3400)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F84 #84512C
analogous
#2C847D #2C5F84 #2C3384
triadic
#2C5F84 #842C5F #5F842C
tetradic
#2C5F84 #7D2C84 #84512C #33842C
square
#2C5F84 #7D2C84 #84512C #33842C
split-complementary
#2C5F84 #842C33 #847D2C
monochromatic
#0D1D28 #1D3E56 #2C5F84 #3B80B2 #609ECA

Accessibility & contrast

On white

6.82
#2C5F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2C5F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5F84
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F84#FFFFFF#000000##FFFFFF
##2C5F841.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6086
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c5f84;
/* rgb */ color: rgb(44, 95, 132);
/* oklch */ color: oklch(46.8% 0.081 242.7);
Tailwind
colors: {
  custom: {
    50: '#6f8ca8',
    500: '#2c5f84',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f84;
$custom-light: #6f8ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f84",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 132
  },
  "hsl": {
    "h": 205.227,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46769,
    "c": 0.08137,
    "h": 242.7
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#2C5F84
secondary
#B07F5C
accent
#894EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2C5F84

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

Preview Lab → · Contrast checker → · Palette generator →

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