#2C4B79#2C4B79

#2C4B79 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.086 H 258.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2C4B79
RGBrgb(44, 75, 121)
HSLhsl(216, 47%, 32%)
HSVhsv(216, 64%, 47%)
CMYKcmyk(63.6%, 38%, 0%, 52.5%)
CIE-LABlab(31.69, 4.08, -29.66)
CIE-LCHlch(31.69, 29.93, 277.84°)
OKLaboklab(41.22% -0.0177 -0.0841)
OKLCHoklch(41.22% 0.086 258.1)
XYZxyz(7.0048, 6.9475, 19.0573)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B79 #795A2C
analogous
#2C7279 #2C4B79 #332C79
triadic
#2C4B79 #792C4B #4B792C
tetradic
#2C4B79 #792C72 #795A2C #2C7933
square
#2C4B79 #792C72 #795A2C #2C7933
split-complementary
#2C4B79 #79332C #72792C
monochromatic
#0B131F #1C2F4C #2C4B79 #3C67A6 #5C86C4

Accessibility & contrast

On white

8.79
#2C4B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C4B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B79
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B79#FFFFFF#000000##FFFFFF
##2C4B791.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7B
Deuteranopia (green-blind)
#2D4778
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c4b79;
/* rgb */ color: rgb(44, 75, 121);
/* oklch */ color: oklch(41.2% 0.086 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7da0',
    500: '#2c4b79',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b79;
$custom-light: #6d7da0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b79",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 215.844,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.08592,
    "h": 258.1
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#2C4B79
secondary
#AA8857
accent
#A151D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4B79

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

Preview Lab → · Contrast checker → · Palette generator →

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