#2C5176#2C5176

#2C5176 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.075 H 250.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2C5176
RGBrgb(44, 81, 118)
HSLhsl(210, 46%, 32%)
HSVhsv(210, 63%, 46%)
CMYKcmyk(62.7%, 31.4%, 0%, 53.7%)
CIE-LABlab(33.41, -0.92, -25.07)
CIE-LCHlch(33.41, 25.09, 267.89°)
OKLaboklab(42.51% -0.0257 -0.0707)
OKLCHoklch(42.51% 0.075 250)
XYZxyz(7.2500, 7.7277, 18.2456)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5176 #76512C
analogous
#2C7676 #2C5176 #2C2C76
triadic
#2C5176 #762C51 #51762C
tetradic
#2C5176 #762C76 #76512C #2C762C
square
#2C5176 #762C76 #76512C #2C762C
split-complementary
#2C5176 #762C2C #76762C
monochromatic
#0B141D #1B3249 #2C5176 #3D70A3 #5B8EC2

Accessibility & contrast

On white

8.25
#2C5176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C5176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5176
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5176#FFFFFF#000000##FFFFFF
##2C51761.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415378
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#005A5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5176;
/* rgb */ color: rgb(44, 81, 118);
/* oklch */ color: oklch(42.5% 0.075 250.0);
Tailwind
colors: {
  custom: {
    50: '#6c819d',
    500: '#2c5176',
    950: '#000000',
  },
}
SCSS
$custom: #2c5176;
$custom-light: #6c819d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5176",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 118
  },
  "hsl": {
    "h": 210,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.0752,
    "h": 250
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#2C5176
secondary
#A77F56
accent
#9452D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C5176

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

Preview Lab → · Contrast checker → · Palette generator →

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