#2C5995#2C5995

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

Color values

HEX#2C5995
RGBrgb(44, 89, 149)
HSLhsl(214, 54%, 38%)
HSVhsv(214, 70%, 58%)
CMYKcmyk(70.5%, 40.3%, 0%, 41.6%)
CIE-LABlab(37.57, 5.40, -37.49)
CIE-LCHlch(37.57, 37.88, 278.20°)
OKLaboklab(46.31% -0.0258 -0.1068)
OKLCHoklch(46.31% 0.11 256.4)
XYZxyz(10.0339, 9.8491, 29.8002)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5995 #95682C
analogous
#2C8D95 #2C5995 #342C95
triadic
#2C5995 #952C59 #59952C
tetradic
#2C5995 #952C8D #95682C #2C9534
square
#2C5995 #952C8D #95682C #2C9534
split-complementary
#2C5995 #95342C #8D952C
monochromatic
#102137 #1E3D66 #2C5995 #3A75C4 #6996D3

Accessibility & contrast

On white

7.07
#2C5995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2C5995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5995
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5995#FFFFFF#000000##FFFFFF
##2C59951.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E97
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c5995;
/* rgb */ color: rgb(44, 89, 149);
/* oklch */ color: oklch(46.3% 0.110 256.4);
Tailwind
colors: {
  custom: {
    50: '#7287b4',
    500: '#2c5995',
    950: '#000000',
  },
}
SCSS
$custom: #2c5995;
$custom-light: #7287b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5995",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 214.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46314,
    "c": 0.1099,
    "h": 256.4
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#2C5995
secondary
#B99564
accent
#9E4ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5995

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

Preview Lab → · Contrast checker → · Palette generator →

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