#2C5F7D#2C5F7D

#2C5F7D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.073 H 237.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2C5F7D
RGBrgb(44, 95, 125)
HSLhsl(202, 48%, 33%)
HSVhsv(202, 65%, 49%)
CMYKcmyk(64.8%, 24%, 0%, 51%)
CIE-LABlab(38.20, -7.15, -21.93)
CIE-LCHlch(38.20, 23.06, 251.94°)
OKLaboklab(46.4% -0.0398 -0.0615)
OKLCHoklch(46.4% 0.073 237.1)
XYZxyz(8.8312, 10.1997, 20.9014)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F7D #7D4A2C
analogous
#2C7D72 #2C5F7D #2C367D
triadic
#2C5F7D #7D2C5F #5F7D2C
tetradic
#2C5F7D #722C7D #7D4A2C #367D2C
square
#2C5F7D #722C7D #7D4A2C #367D2C
split-complementary
#2C5F7D #7D2C36 #7D722C
monochromatic
#0C1A22 #1C3D50 #2C5F7D #3C81AA #5D9FC6

Accessibility & contrast

On white

6.91
#2C5F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2C5F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5F7D
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F7D#FFFFFF#000000##FFFFFF
##2C5F7D1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7E
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c5f7d;
/* rgb */ color: rgb(44, 95, 125);
/* oklch */ color: oklch(46.4% 0.073 237.1);
Tailwind
colors: {
  custom: {
    50: '#6e8ca2',
    500: '#2c5f7d',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f7d;
$custom-light: #6e8ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f7d",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 125
  },
  "hsl": {
    "h": 202.222,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.07323,
    "h": 237.1
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#2C5F7D
secondary
#AC7859
accent
#8250D8
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2C5F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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