#2C5D95#2C5D95

#2C5D95 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.3% C 0.105 H 253.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2C5D95
RGBrgb(44, 93, 149)
HSLhsl(212, 54%, 38%)
HSVhsv(212, 70%, 58%)
CMYKcmyk(70.5%, 37.6%, 0%, 41.6%)
CIE-LABlab(38.78, 2.83, -35.57)
CIE-LCHlch(38.78, 35.68, 274.55°)
OKLaboklab(47.26% -0.0299 -0.1011)
OKLCHoklch(47.26% 0.105 253.5)
XYZxyz(10.3759, 10.5330, 29.9142)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D95 #95642C
analogous
#2C9195 #2C5D95 #2F2C95
triadic
#2C5D95 #952C5D #5D952C
tetradic
#2C5D95 #952C91 #95642C #2C952F
square
#2C5D95 #952C91 #95642C #2C952F
split-complementary
#2C5D95 #952F2C #91952C
monochromatic
#102237 #1E4066 #2C5D95 #3A7AC4 #699AD3

Accessibility & contrast

On white

6.76
#2C5D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2C5D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5D95
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D95#FFFFFF#000000##FFFFFF
##2C5D951.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c5d95;
/* rgb */ color: rgb(44, 93, 149);
/* oklch */ color: oklch(47.3% 0.105 253.5);
Tailwind
colors: {
  custom: {
    50: '#728ab4',
    500: '#2c5d95',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d95;
$custom-light: #728ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d95",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 212,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47259,
    "c": 0.10545,
    "h": 253.5
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C5D95

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

Preview Lab → · Contrast checker → · Palette generator →

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