#2C477C#2C477C

#2C477C is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.095 H 262.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2C477C
RGBrgb(44, 71, 124)
HSLhsl(220, 48%, 33%)
HSVhsv(220, 65%, 49%)
CMYKcmyk(64.5%, 42.7%, 0%, 51.4%)
CIE-LABlab(30.63, 7.87, -33.20)
CIE-LCHlch(30.63, 34.12, 283.33°)
OKLaboklab(40.45% -0.0124 -0.0945)
OKLCHoklch(40.45% 0.095 262.5)
XYZxyz(6.9288, 6.4966, 19.9537)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C477C #7C612C
analogous
#2C6F7C #2C477C #392C7C
triadic
#2C477C #7C2C47 #477C2C
tetradic
#2C477C #7C2C6F #7C612C #2C7C39
square
#2C477C #7C2C6F #7C612C #2C7C39
split-complementary
#2C477C #7C392C #6F7C2C
monochromatic
#0C1322 #1C2D4F #2C477C #3C61A9 #5D80C5

Accessibility & contrast

On white

9.13
#2C477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C477C
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C477C#FFFFFF#000000##FFFFFF
##2C477C1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c477c;
/* rgb */ color: rgb(44, 71, 124);
/* oklch */ color: oklch(40.5% 0.095 262.5);
Tailwind
colors: {
  custom: {
    50: '#6d79a2',
    500: '#2c477c',
    950: '#000000',
  },
}
SCSS
$custom: #2c477c;
$custom-light: #6d79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c477c",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 219.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.09531,
    "h": 262.5
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#2C477C
secondary
#AC8F58
accent
#AA51D7
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C477C

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

Preview Lab → · Contrast checker → · Palette generator →

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