#2C5997#2C5997

#2C5997 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.4% C 0.113 H 257.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2C5997
RGBrgb(44, 89, 151)
HSLhsl(215, 55%, 38%)
HSVhsv(215, 71%, 59%)
CMYKcmyk(70.9%, 41.1%, 0%, 40.8%)
CIE-LABlab(37.69, 6.16, -38.51)
CIE-LCHlch(37.69, 39.00, 279.09°)
OKLaboklab(46.44% -0.0254 -0.1098)
OKLCHoklch(46.44% 0.113 257)
XYZxyz(10.1950, 9.9135, 30.6484)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5997 #976A2C
analogous
#2C8E97 #2C5997 #342C97
triadic
#2C5997 #972C59 #59972C
tetradic
#2C5997 #972C8E #976A2C #2C9734
square
#2C5997 #972C8E #976A2C #2C9734
split-complementary
#2C5997 #97342C #8E972C
monochromatic
#102138 #1E3D68 #2C5997 #3A75C6 #6A96D4

Accessibility & contrast

On white

7.04
#2C5997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2C5997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5997
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5997#FFFFFF#000000##FFFFFF
##2C59971.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E99
Deuteranopia (green-blind)
#2C5496
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c5997;
/* rgb */ color: rgb(44, 89, 151);
/* oklch */ color: oklch(46.4% 0.113 257.0);
Tailwind
colors: {
  custom: {
    50: '#7287b6',
    500: '#2c5997',
    950: '#000000',
  },
}
SCSS
$custom: #2c5997;
$custom-light: #7287b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5997",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 214.766,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.1127,
    "h": 257
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#2C5997
secondary
#BA9665
accent
#A04ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5997

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

Preview Lab → · Contrast checker → · Palette generator →

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