#2C4977#2C4977

#2C4977 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.085 H 259.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2C4977
RGBrgb(44, 73, 119)
HSLhsl(217, 46%, 32%)
HSVhsv(217, 63%, 47%)
CMYKcmyk(63%, 38.7%, 0%, 53.3%)
CIE-LABlab(30.95, 4.67, -29.57)
CIE-LCHlch(30.95, 29.93, 278.98°)
OKLaboklab(40.61% -0.0159 -0.0838)
OKLCHoklch(40.61% 0.085 259.3)
XYZxyz(6.7499, 6.6319, 18.3736)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4977 #775A2C
analogous
#2C6F77 #2C4977 #352C77
triadic
#2C4977 #772C49 #49772C
tetradic
#2C4977 #772C6F #775A2C #2C7735
square
#2C4977 #772C6F #775A2C #2C7735
split-complementary
#2C4977 #77352C #6F772C
monochromatic
#0B121E #1B2E4A #2C4977 #3D64A4 #5B83C2

Accessibility & contrast

On white

9.03
#2C4977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C4977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4977
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4977#FFFFFF#000000##FFFFFF
##2C49771.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D79
Deuteranopia (green-blind)
#2B4676
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4977;
/* rgb */ color: rgb(44, 73, 119);
/* oklch */ color: oklch(40.6% 0.085 259.3);
Tailwind
colors: {
  custom: {
    50: '#6c7b9e',
    500: '#2c4977',
    950: '#000000',
  },
}
SCSS
$custom: #2c4977;
$custom-light: #6c7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4977",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 119
  },
  "hsl": {
    "h": 216.8,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40608,
    "c": 0.08533,
    "h": 259.3
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#2C4977
secondary
#A88956
accent
#A352D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4977

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

Preview Lab → · Contrast checker → · Palette generator →

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