#2C5D97#2C5D97

#2C5D97 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.4% C 0.108 H 254.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2C5D97
RGBrgb(44, 93, 151)
HSLhsl(213, 55%, 38%)
HSVhsv(213, 71%, 59%)
CMYKcmyk(70.9%, 38.4%, 0%, 40.8%)
CIE-LABlab(38.89, 3.58, -36.59)
CIE-LCHlch(38.89, 36.77, 275.59°)
OKLaboklab(47.38% -0.0294 -0.1041)
OKLCHoklch(47.38% 0.108 254.2)
XYZxyz(10.5369, 10.5974, 30.7624)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D97 #97662C
analogous
#2C9297 #2C5D97 #302C97
triadic
#2C5D97 #972C5D #5D972C
tetradic
#2C5D97 #972C92 #97662C #2C9730
square
#2C5D97 #972C92 #97662C #2C9730
split-complementary
#2C5D97 #97302C #92972C
monochromatic
#102338 #1E4068 #2C5D97 #3A7AC6 #6A9AD4

Accessibility & contrast

On white

6.73
#2C5D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2C5D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5D97
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D97#FFFFFF#000000##FFFFFF
##2C5D971.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#335796
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5d97;
/* rgb */ color: rgb(44, 93, 151);
/* oklch */ color: oklch(47.4% 0.108 254.2);
Tailwind
colors: {
  custom: {
    50: '#728ab6',
    500: '#2c5d97',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d97;
$custom-light: #728ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d97",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 212.523,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47383,
    "c": 0.10819,
    "h": 254.2
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#2C5D97
secondary
#BA9365
accent
#9A4ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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