#2C5F97#2C5F97

#2C5F97 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.106 H 252.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2C5F97
RGBrgb(44, 95, 151)
HSLhsl(211, 55%, 38%)
HSVhsv(211, 71%, 59%)
CMYKcmyk(70.9%, 37.1%, 0%, 40.8%)
CIE-LABlab(39.50, 2.31, -35.63)
CIE-LCHlch(39.50, 35.70, 273.71°)
OKLaboklab(47.86% -0.0314 -0.1013)
OKLCHoklch(47.86% 0.106 252.8)
XYZxyz(10.7148, 10.9531, 30.8216)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F97 #97642C
analogous
#2C9497 #2C5F97 #2E2C97
triadic
#2C5F97 #972C5F #5F972C
tetradic
#2C5F97 #972C94 #97642C #2C972E
square
#2C5F97 #972C94 #97642C #2C972E
split-complementary
#2C5F97 #972E2C #94972C
monochromatic
#102338 #1E4168 #2C5F97 #3A7DC6 #6A9CD4

Accessibility & contrast

On white

6.58
#2C5F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2C5F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5F97
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F97#FFFFFF#000000##FFFFFF
##2C5F971.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#365896
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5f97;
/* rgb */ color: rgb(44, 95, 151);
/* oklch */ color: oklch(47.9% 0.106 252.8);
Tailwind
colors: {
  custom: {
    50: '#728cb6',
    500: '#2c5f97',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f97;
$custom-light: #728cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f97",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 211.402,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47857,
    "c": 0.10604,
    "h": 252.8
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#2C5F97
secondary
#BA9165
accent
#974ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2C5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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