#2C4B77#2C4B77

#2C4B77 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.1% C 0.083 H 257.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2C4B77
RGBrgb(44, 75, 119)
HSLhsl(215, 46%, 32%)
HSVhsv(215, 63%, 47%)
CMYKcmyk(63%, 37%, 0%, 53.3%)
CIE-LABlab(31.58, 3.35, -28.58)
CIE-LCHlch(31.58, 28.78, 276.68°)
OKLaboklab(41.09% -0.0183 -0.0809)
OKLCHoklch(41.09% 0.083 257.3)
XYZxyz(6.8834, 6.8989, 18.4181)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B77 #77582C
analogous
#2C7177 #2C4B77 #332C77
triadic
#2C4B77 #772C4B #4B772C
tetradic
#2C4B77 #772C71 #77582C #2C7733
square
#2C4B77 #772C71 #77582C #2C7733
split-complementary
#2C4B77 #77332C #71772C
monochromatic
#0B131E #1B2F4A #2C4B77 #3D67A4 #5B86C2

Accessibility & contrast

On white

8.82
#2C4B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C4B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B77
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B77#FFFFFF#000000##FFFFFF
##2C4B771.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#2E4776
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4b77;
/* rgb */ color: rgb(44, 75, 119);
/* oklch */ color: oklch(41.1% 0.083 257.3);
Tailwind
colors: {
  custom: {
    50: '#6c7d9e',
    500: '#2c4b77',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b77;
$custom-light: #6c7d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b77",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 119
  },
  "hsl": {
    "h": 215.2,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.08297,
    "h": 257.3
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#2C4B77
secondary
#A88756
accent
#9F52D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4B77

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

Preview Lab → · Contrast checker → · Palette generator →

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