#2C5E87#2C5E87

#2C5E87 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.086 H 245.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2C5E87
RGBrgb(44, 94, 135)
HSLhsl(207, 51%, 35%)
HSVhsv(207, 67%, 53%)
CMYKcmyk(67.4%, 30.4%, 0%, 47.1%)
CIE-LABlab(38.36, -2.97, -27.77)
CIE-LCHlch(38.36, 27.93, 263.91°)
OKLaboklab(46.68% -0.0351 -0.0784)
OKLCHoklch(46.68% 0.086 245.9)
XYZxyz(9.4129, 10.2892, 24.4069)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E87 #87552C
analogous
#2C8782 #2C5E87 #2C3087
triadic
#2C5E87 #872C5E #5E872C
tetradic
#2C5E87 #822C87 #87552C #30872C
square
#2C5E87 #822C87 #87552C #30872C
split-complementary
#2C5E87 #872C30 #87822C
monochromatic
#0E1E2B #1D3E59 #2C5E87 #3B7EB5 #629CCC

Accessibility & contrast

On white

6.87
#2C5E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2C5E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5E87
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5E87#FFFFFF#000000##FFFFFF
##2C5E871.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c5e87;
/* rgb */ color: rgb(44, 94, 135);
/* oklch */ color: oklch(46.7% 0.086 245.9);
Tailwind
colors: {
  custom: {
    50: '#6f8baa',
    500: '#2c5e87',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e87;
$custom-light: #6f8baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e87",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 207.033,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.08591,
    "h": 245.9
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#2C5E87
secondary
#B2835D
accent
#8D4DDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2C5E87

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

Preview Lab → · Contrast checker → · Palette generator →

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