#2C5E97#2C5E97

#2C5E97 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.107 H 253.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2C5E97
RGBrgb(44, 94, 151)
HSLhsl(212, 55%, 38%)
HSVhsv(212, 71%, 59%)
CMYKcmyk(70.9%, 37.7%, 0%, 40.8%)
CIE-LABlab(39.20, 2.94, -36.11)
CIE-LCHlch(39.20, 36.23, 274.66°)
OKLaboklab(47.62% -0.0304 -0.1027)
OKLCHoklch(47.62% 0.107 253.5)
XYZxyz(10.6253, 10.7741, 30.7918)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E97 #97652C
analogous
#2C9397 #2C5E97 #302C97
triadic
#2C5E97 #972C5E #5E972C
tetradic
#2C5E97 #972C93 #97652C #2C9730
square
#2C5E97 #972C93 #97652C #2C9730
split-complementary
#2C5E97 #97302C #93972C
monochromatic
#102338 #1E4068 #2C5E97 #3A7CC6 #6A9BD4

Accessibility & contrast

On white

6.66
#2C5E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2C5E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5E97
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5E97#FFFFFF#000000##FFFFFF
##2C5E971.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5e97;
/* rgb */ color: rgb(44, 94, 151);
/* oklch */ color: oklch(47.6% 0.107 253.5);
Tailwind
colors: {
  custom: {
    50: '#728bb6',
    500: '#2c5e97',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e97;
$custom-light: #728bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e97",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 211.963,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.10711,
    "h": 253.5
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#2C5E97
secondary
#BA9265
accent
#994ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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