#2C4E7D#2C4E7D

#2C4E7D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.088 H 256.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2C4E7D
RGBrgb(44, 78, 125)
HSLhsl(215, 48%, 33%)
HSVhsv(215, 65%, 49%)
CMYKcmyk(64.8%, 37.6%, 0%, 51%)
CIE-LABlab(32.84, 3.59, -30.32)
CIE-LCHlch(32.84, 30.53, 276.75°)
OKLaboklab(42.19% -0.0201 -0.086)
OKLCHoklch(42.19% 0.088 256.8)
XYZxyz(7.4634, 7.4642, 20.4455)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E7D #7D5B2C
analogous
#2C767D #2C4E7D #322C7D
triadic
#2C4E7D #7D2C4E #4E7D2C
tetradic
#2C4E7D #7D2C76 #7D5B2C #2C7D32
square
#2C4E7D #7D2C76 #7D5B2C #2C7D32
split-complementary
#2C4E7D #7D322C #767D2C
monochromatic
#0C1622 #1C3250 #2C4E7D #3C6AAA #5D89C6

Accessibility & contrast

On white

8.42
#2C4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2C4E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E7D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E7D#FFFFFF#000000##FFFFFF
##2C4E7D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4e7d;
/* rgb */ color: rgb(44, 78, 125);
/* oklch */ color: oklch(42.2% 0.088 256.8);
Tailwind
colors: {
  custom: {
    50: '#6d7fa3',
    500: '#2c4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e7d;
$custom-light: #6d7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e7d",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 214.815,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42187,
    "c": 0.0883,
    "h": 256.8
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#2C4E7D
secondary
#AC8959
accent
#9F50D8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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