#2C477D#2C477D

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

Color values

HEX#2C477D
RGBrgb(44, 71, 125)
HSLhsl(220, 48%, 33%)
HSVhsv(220, 65%, 49%)
CMYKcmyk(64.8%, 43.2%, 0%, 51%)
CIE-LABlab(30.69, 8.24, -33.73)
CIE-LCHlch(30.69, 34.72, 283.73°)
OKLaboklab(40.52% -0.0121 -0.096)
OKLCHoklch(40.52% 0.097 262.8)
XYZxyz(6.9923, 6.5220, 20.2884)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C477D #7D622C
analogous
#2C6F7D #2C477D #392C7D
triadic
#2C477D #7D2C47 #477D2C
tetradic
#2C477D #7D2C6F #7D622C #2C7D39
square
#2C477D #7D2C6F #7D622C #2C7D39
split-complementary
#2C477D #7D392C #6F7D2C
monochromatic
#0C1422 #1C2D50 #2C477D #3C61AA #5D80C6

Accessibility & contrast

On white

9.11
#2C477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C477D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C477D#FFFFFF#000000##FFFFFF
##2C477D1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c477d;
/* rgb */ color: rgb(44, 71, 125);
/* oklch */ color: oklch(40.5% 0.097 262.8);
Tailwind
colors: {
  custom: {
    50: '#6e79a3',
    500: '#2c477d',
    950: '#000000',
  },
}
SCSS
$custom: #2c477d;
$custom-light: #6e79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c477d",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 220,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40521,
    "c": 0.09682,
    "h": 262.8
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#2C477D
secondary
#AC9059
accent
#AA50D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C477D

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

Preview Lab → · Contrast checker → · Palette generator →

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