#2C5C96#2C5C96

#2C5C96 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.108 H 254.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2C5C96
RGBrgb(44, 92, 150)
HSLhsl(213, 55%, 38%)
HSVhsv(213, 71%, 59%)
CMYKcmyk(70.7%, 38.7%, 0%, 41.2%)
CIE-LABlab(38.53, 3.85, -36.56)
CIE-LCHlch(38.53, 36.76, 276.01°)
OKLaboklab(47.08% -0.0286 -0.104)
OKLCHoklch(47.08% 0.108 254.6)
XYZxyz(10.3689, 10.3907, 30.3074)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5C96 #96662C
analogous
#2C9196 #2C5C96 #312C96
triadic
#2C5C96 #962C5C #5C962C
tetradic
#2C5C96 #962C91 #96662C #2C9631
square
#2C5C96 #962C91 #96662C #2C9631
split-complementary
#2C5C96 #96312C #91962C
monochromatic
#102237 #1E3F67 #2C5C96 #3A79C5 #6999D3

Accessibility & contrast

On white

6.82
#2C5C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2C5C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5C96
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5C96#FFFFFF#000000##FFFFFF
##2C5C961.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426098
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c5c96;
/* rgb */ color: rgb(44, 92, 150);
/* oklch */ color: oklch(47.1% 0.108 254.6);
Tailwind
colors: {
  custom: {
    50: '#7289b5',
    500: '#2c5c96',
    950: '#000000',
  },
}
SCSS
$custom: #2c5c96;
$custom-light: #7289b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5c96",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 150
  },
  "hsl": {
    "h": 212.83,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47084,
    "c": 0.10792,
    "h": 254.6
  },
  "luminance": 0.10392
}

Semantic roles & 50–950 ramp

primary
#2C5C96
secondary
#BA9364
accent
#9B4ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5C96

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

Preview Lab → · Contrast checker → · Palette generator →

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