#2C5891#2C5891

#2C5891 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.105 H 255.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2C5891
RGBrgb(44, 88, 145)
HSLhsl(214, 53%, 37%)
HSVhsv(214, 70%, 57%)
CMYKcmyk(69.7%, 39.3%, 0%, 43.1%)
CIE-LABlab(37.04, 4.54, -35.92)
CIE-LCHlch(37.04, 36.21, 277.21°)
OKLaboklab(45.83% -0.0258 -0.1022)
OKLCHoklch(45.83% 0.105 255.8)
XYZxyz(9.6374, 9.5583, 28.1196)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5891 #91652C
analogous
#2C8B91 #2C5891 #322C91
triadic
#2C5891 #912C58 #58912C
tetradic
#2C5891 #912C8B #91652C #2C9132
square
#2C5891 #912C8B #91652C #2C9132
split-complementary
#2C5891 #91322C #8B912C
monochromatic
#101F33 #1E3C62 #2C5891 #3A74C0 #6795D1

Accessibility & contrast

On white

7.21
#2C5891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2C5891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5891
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5891#FFFFFF#000000##FFFFFF
##2C58911.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5C93
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c5891;
/* rgb */ color: rgb(44, 88, 145);
/* oklch */ color: oklch(45.8% 0.105 255.8);
Tailwind
colors: {
  custom: {
    50: '#7186b1',
    500: '#2c5891',
    950: '#000000',
  },
}
SCSS
$custom: #2c5891;
$custom-light: #7186b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5891",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 145
  },
  "hsl": {
    "h": 213.861,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.10543,
    "h": 255.8
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#2C5891
secondary
#B79262
accent
#9D4BDD
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2C5891

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

Preview Lab → · Contrast checker → · Palette generator →

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