#2C5074#2C5074

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

Color values

HEX#2C5074
RGBrgb(44, 80, 116)
HSLhsl(210, 45%, 31%)
HSVhsv(210, 62%, 45%)
CMYKcmyk(62.1%, 31%, 0%, 54.5%)
CIE-LABlab(32.99, -1.00, -24.48)
CIE-LCHlch(32.99, 24.50, 267.66°)
OKLaboklab(42.15% -0.0252 -0.069)
OKLCHoklch(42.15% 0.073 250)
XYZxyz(7.0586, 7.5331, 17.6017)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5074 #74502C
analogous
#2C7474 #2C5074 #2C2C74
triadic
#2C5074 #742C50 #50742C
tetradic
#2C5074 #742C74 #74502C #2C742C
square
#2C5074 #742C74 #74502C #2C742C
split-complementary
#2C5074 #742C2C #74742C
monochromatic
#0A131B #1B3148 #2C5074 #3D6FA0 #5A8DC0

Accessibility & contrast

On white

8.38
#2C5074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2C5074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5074
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5074#FFFFFF#000000##FFFFFF
##2C50741.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415176
Deuteranopia (green-blind)
#374A73
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5074;
/* rgb */ color: rgb(44, 80, 116);
/* oklch */ color: oklch(42.1% 0.073 250.0);
Tailwind
colors: {
  custom: {
    50: '#6c809c',
    500: '#2c5074',
    950: '#000000',
  },
}
SCSS
$custom: #2c5074;
$custom-light: #6c809c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5074",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 210,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42148,
    "c": 0.07342,
    "h": 250
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#2C5074
secondary
#A67E56
accent
#9453D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C5074

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

Preview Lab → · Contrast checker → · Palette generator →

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