#2C479D#2C479D

#2C479D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.144 H 267.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2C479D
RGBrgb(44, 71, 157)
HSLhsl(226, 56%, 39%)
HSVhsv(226, 72%, 62%)
CMYKcmyk(72%, 54.8%, 0%, 38.4%)
CIE-LABlab(32.87, 20.40, -49.88)
CIE-LCHlch(32.87, 53.89, 292.24°)
OKLaboklab(42.88% -0.0076 -0.1435)
OKLCHoklch(42.88% 0.144 267)
XYZxyz(9.3756, 7.4753, 32.8405)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C479D #9D822C
analogous
#2C809D #2C479D #4A2C9D
triadic
#2C479D #9D2C47 #479D2C
tetradic
#2C479D #9D2C80 #9D822C #2C9D4A
square
#2C479D #9D2C80 #9D822C #2C9D4A
split-complementary
#2C479D #9D4A2C #809D2C
monochromatic
#111C3D #1F316D #2C479D #3D5FC9 #6D86D6

Accessibility & contrast

On white

8.42
#2C479D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2C479D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C479D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C479D#FFFFFF#000000##FFFFFF
##2C479D1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0453A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c479d;
/* rgb */ color: rgb(44, 71, 157);
/* oklch */ color: oklch(42.9% 0.144 267.0);
Tailwind
colors: {
  custom: {
    50: '#7479bb',
    500: '#2c479d',
    950: '#000000',
  },
}
SCSS
$custom: #2c479d;
$custom-light: #7479bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c479d",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 157
  },
  "hsl": {
    "h": 225.664,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42875,
    "c": 0.14374,
    "h": 267
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#2C479D
secondary
#BDA968
accent
#BB48E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C479D

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

Preview Lab → · Contrast checker → · Palette generator →

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