#2C4E78#2C4E78

#2C4E78 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.081 H 254.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2C4E78
RGBrgb(44, 78, 120)
HSLhsl(213, 46%, 32%)
HSVhsv(213, 63%, 47%)
CMYKcmyk(63.3%, 35%, 0%, 52.9%)
CIE-LABlab(32.57, 1.74, -27.64)
CIE-LCHlch(32.57, 27.70, 273.61°)
OKLaboklab(41.89% -0.0215 -0.0782)
OKLCHoklch(41.89% 0.081 254.6)
XYZxyz(7.1520, 7.3397, 18.8054)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E78 #78562C
analogous
#2C7478 #2C4E78 #302C78
triadic
#2C4E78 #782C4E #4E782C
tetradic
#2C4E78 #782C74 #78562C #2C7830
square
#2C4E78 #782C74 #78562C #2C7830
split-complementary
#2C4E78 #78302C #74782C
monochromatic
#0B141E #1C314B #2C4E78 #3C6BA5 #5B8AC3

Accessibility & contrast

On white

8.51
#2C4E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2C4E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E78
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E78#FFFFFF#000000##FFFFFF
##2C4E781.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4e78;
/* rgb */ color: rgb(44, 78, 120);
/* oklch */ color: oklch(41.9% 0.081 254.6);
Tailwind
colors: {
  custom: {
    50: '#6d7f9f',
    500: '#2c4e78',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e78;
$custom-light: #6d7f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e78",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 213.158,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.08108,
    "h": 254.6
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#2C4E78
secondary
#A98457
accent
#9B52D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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