#2C477A#2C477A

#2C477A is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.092 H 262.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2C477A
RGBrgb(44, 71, 122)
HSLhsl(219, 47%, 33%)
HSVhsv(219, 64%, 48%)
CMYKcmyk(63.9%, 41.8%, 0%, 52.2%)
CIE-LABlab(30.51, 7.12, -32.14)
CIE-LCHlch(30.51, 32.92, 282.49°)
OKLaboklab(40.32% -0.0128 -0.0914)
OKLCHoklch(40.32% 0.092 262)
XYZxyz(6.8036, 6.4465, 19.2943)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C477A #7A5F2C
analogous
#2C6E7A #2C477A #382C7A
triadic
#2C477A #7A2C47 #477A2C
tetradic
#2C477A #7A2C6E #7A5F2C #2C7A38
square
#2C477A #7A2C6E #7A5F2C #2C7A38
split-complementary
#2C477A #7A382C #6E7A2C
monochromatic
#0C1320 #1C2D4D #2C477A #3C61A7 #5C80C4

Accessibility & contrast

On white

9.17
#2C477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C477A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C477A#FFFFFF#000000##FFFFFF
##2C477A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c477a;
/* rgb */ color: rgb(44, 71, 122);
/* oklch */ color: oklch(40.3% 0.092 262.0);
Tailwind
colors: {
  custom: {
    50: '#6d79a1',
    500: '#2c477a',
    950: '#000000',
  },
}
SCSS
$custom: #2c477a;
$custom-light: #6d79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c477a",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 219.231,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40322,
    "c": 0.0923,
    "h": 262
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#2C477A
secondary
#AA8E57
accent
#A851D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2C477A

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

Preview Lab → · Contrast checker → · Palette generator →

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