#2C5F87#2C5F87

#2C5F87 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 46.9% C 0.085 H 244.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2C5F87
RGBrgb(44, 95, 135)
HSLhsl(206, 51%, 35%)
HSVhsv(206, 67%, 53%)
CMYKcmyk(67.4%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.67, -3.59, -27.28)
CIE-LCHlch(38.67, 27.52, 262.51°)
OKLaboklab(46.93% -0.0363 -0.0769)
OKLCHoklch(46.93% 0.085 244.8)
XYZxyz(9.5024, 10.4682, 24.4367)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F87 #87542C
analogous
#2C8782 #2C5F87 #2C3187
triadic
#2C5F87 #872C5F #5F872C
tetradic
#2C5F87 #822C87 #87542C #31872C
square
#2C5F87 #822C87 #87542C #31872C
split-complementary
#2C5F87 #872C31 #87822C
monochromatic
#0E1E2B #1D3F59 #2C5F87 #3B7FB5 #629DCC

Accessibility & contrast

On white

6.79
#2C5F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2C5F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5F87
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F87#FFFFFF#000000##FFFFFF
##2C5F871.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c5f87;
/* rgb */ color: rgb(44, 95, 135);
/* oklch */ color: oklch(46.9% 0.085 244.8);
Tailwind
colors: {
  custom: {
    50: '#6f8caa',
    500: '#2c5f87',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f87;
$custom-light: #6f8caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f87",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 206.374,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.08507,
    "h": 244.8
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#2C5F87
secondary
#B2825D
accent
#8B4DDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2C5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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