#2C477F#2C477F

#2C477F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.100 H 263.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2C477F
RGBrgb(44, 71, 127)
HSLhsl(220, 49%, 34%)
HSVhsv(220, 65%, 50%)
CMYKcmyk(65.4%, 44.1%, 0%, 50.2%)
CIE-LABlab(30.82, 9.00, -34.78)
CIE-LCHlch(30.82, 35.92, 284.50°)
OKLaboklab(40.66% -0.0117 -0.0991)
OKLCHoklch(40.66% 0.1 263.3)
XYZxyz(7.1214, 6.5736, 20.9681)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C477F #7F642C
analogous
#2C707F #2C477F #3A2C7F
triadic
#2C477F #7F2C47 #477F2C
tetradic
#2C477F #7F2C70 #7F642C #2C7F3A
square
#2C477F #7F2C70 #7F642C #2C7F3A
split-complementary
#2C477F #7F3A2C #707F2C
monochromatic
#0D1424 #1C2E52 #2C477F #3C60AC #5E80C7

Accessibility & contrast

On white

9.07
#2C477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C477F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C477F#FFFFFF#000000##FFFFFF
##2C477F1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c477f;
/* rgb */ color: rgb(44, 71, 127);
/* oklch */ color: oklch(40.7% 0.100 263.3);
Tailwind
colors: {
  custom: {
    50: '#6e79a4',
    500: '#2c477f',
    950: '#000000',
  },
}
SCSS
$custom: #2c477f;
$custom-light: #6e79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c477f",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 220.482,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40655,
    "c": 0.09982,
    "h": 263.3
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#2C477F
secondary
#AD9259
accent
#AC50D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C477F

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

Preview Lab → · Contrast checker → · Palette generator →

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