#2C477B#2C477B

#2C477B is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.094 H 262.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2C477B
RGBrgb(44, 71, 123)
HSLhsl(219, 47%, 33%)
HSVhsv(219, 64%, 48%)
CMYKcmyk(64.2%, 42.3%, 0%, 51.8%)
CIE-LABlab(30.57, 7.49, -32.67)
CIE-LCHlch(30.57, 33.52, 282.92°)
OKLaboklab(40.39% -0.0126 -0.093)
OKLCHoklch(40.39% 0.094 262.3)
XYZxyz(6.8658, 6.4714, 19.6223)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C477B #7B602C
analogous
#2C6E7B #2C477B #392C7B
triadic
#2C477B #7B2C47 #477B2C
tetradic
#2C477B #7B2C6E #7B602C #2C7B39
square
#2C477B #7B2C6E #7B602C #2C7B39
split-complementary
#2C477B #7B392C #6E7B2C
monochromatic
#0C1321 #1C2D4E #2C477B #3C61A8 #5D80C5

Accessibility & contrast

On white

9.15
#2C477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C477B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C477B#FFFFFF#000000##FFFFFF
##2C477B1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#25457A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c477b;
/* rgb */ color: rgb(44, 71, 123);
/* oklch */ color: oklch(40.4% 0.094 262.3);
Tailwind
colors: {
  custom: {
    50: '#6d79a1',
    500: '#2c477b',
    950: '#000000',
  },
}
SCSS
$custom: #2c477b;
$custom-light: #6d79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c477b",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 219.494,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40388,
    "c": 0.09381,
    "h": 262.3
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#2C477B
secondary
#AB8F58
accent
#A951D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2C477B

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

Preview Lab → · Contrast checker → · Palette generator →

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