#2C4E7A#2C4E7A

#2C4E7A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.084 H 255.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2C4E7A
RGBrgb(44, 78, 122)
HSLhsl(214, 47%, 33%)
HSVhsv(214, 64%, 48%)
CMYKcmyk(63.9%, 36.1%, 0%, 52.2%)
CIE-LABlab(32.68, 2.48, -28.72)
CIE-LCHlch(32.68, 28.82, 274.94°)
OKLaboklab(42% -0.0209 -0.0813)
OKLCHoklch(42% 0.084 255.6)
XYZxyz(7.2747, 7.3887, 19.4514)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E7A #7A582C
analogous
#2C757A #2C4E7A #312C7A
triadic
#2C4E7A #7A2C4E #4E7A2C
tetradic
#2C4E7A #7A2C75 #7A582C #2C7A31
square
#2C4E7A #7A2C75 #7A582C #2C7A31
split-complementary
#2C4E7A #7A312C #757A2C
monochromatic
#0C1420 #1C314D #2C4E7A #3C6BA7 #5C8AC4

Accessibility & contrast

On white

8.48
#2C4E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C4E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E7A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E7A#FFFFFF#000000##FFFFFF
##2C4E7A1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#314979
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4e7a;
/* rgb */ color: rgb(44, 78, 122);
/* oklch */ color: oklch(42.0% 0.084 255.6);
Tailwind
colors: {
  custom: {
    50: '#6d7fa0',
    500: '#2c4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e7a;
$custom-light: #6d7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e7a",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 213.846,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.08395,
    "h": 255.6
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#2C4E7A
secondary
#AA8657
accent
#9C51D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2C4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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