#2C477E#2C477E

#2C477E is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.098 H 263.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2C477E
RGBrgb(44, 71, 126)
HSLhsl(220, 48%, 33%)
HSVhsv(220, 65%, 49%)
CMYKcmyk(65.1%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.75, 8.62, -34.25)
CIE-LCHlch(30.75, 35.32, 284.12°)
OKLaboklab(40.59% -0.0119 -0.0976)
OKLCHoklch(40.59% 0.098 263)
XYZxyz(7.0565, 6.5477, 20.6266)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C477E #7E632C
analogous
#2C707E #2C477E #3A2C7E
triadic
#2C477E #7E2C47 #477E2C
tetradic
#2C477E #7E2C70 #7E632C #2C7E3A
square
#2C477E #7E2C70 #7E632C #2C7E3A
split-complementary
#2C477E #7E3A2C #707E2C
monochromatic
#0C1423 #1C2D51 #2C477E #3C61AB #5E80C7

Accessibility & contrast

On white

9.09
#2C477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C477E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C477E#FFFFFF#000000##FFFFFF
##2C477E1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c477e;
/* rgb */ color: rgb(44, 71, 126);
/* oklch */ color: oklch(40.6% 0.098 263.0);
Tailwind
colors: {
  custom: {
    50: '#6e79a4',
    500: '#2c477e',
    950: '#000000',
  },
}
SCSS
$custom: #2c477e;
$custom-light: #6e79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c477e",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 220.244,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40588,
    "c": 0.09833,
    "h": 263
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#2C477E
secondary
#AD9159
accent
#AB50D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C477E

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

Preview Lab → · Contrast checker → · Palette generator →

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