#2C5A91#2C5A91

#2C5A91 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.103 H 254.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2C5A91
RGBrgb(44, 90, 145)
HSLhsl(213, 53%, 37%)
HSVhsv(213, 70%, 57%)
CMYKcmyk(69.7%, 37.9%, 0%, 43.1%)
CIE-LABlab(37.65, 3.25, -34.95)
CIE-LCHlch(37.65, 35.11, 275.32°)
OKLaboklab(46.3% -0.0279 -0.0994)
OKLCHoklch(46.3% 0.103 254.3)
XYZxyz(9.8038, 9.8911, 28.1751)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5A91 #91632C
analogous
#2C8D91 #2C5A91 #302C91
triadic
#2C5A91 #912C5A #5A912C
tetradic
#2C5A91 #912C8D #91632C #2C9130
square
#2C5A91 #912C8D #91632C #2C9130
split-complementary
#2C5A91 #91302C #8D912C
monochromatic
#102033 #1E3D62 #2C5A91 #3A77C0 #6797D1

Accessibility & contrast

On white

7.05
#2C5A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5A91
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5A91#FFFFFF#000000##FFFFFF
##2C5A911.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E93
Deuteranopia (green-blind)
#335490
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c5a91;
/* rgb */ color: rgb(44, 90, 145);
/* oklch */ color: oklch(46.3% 0.103 254.3);
Tailwind
colors: {
  custom: {
    50: '#7188b1',
    500: '#2c5a91',
    950: '#000000',
  },
}
SCSS
$custom: #2c5a91;
$custom-light: #7188b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5a91",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 212.673,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46299,
    "c": 0.10321,
    "h": 254.3
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#2C5A91
secondary
#B79062
accent
#9A4BDD
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2C5A91

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

Preview Lab → · Contrast checker → · Palette generator →

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