#2C479C#2C479C

#2C479C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.142 H 266.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2C479C
RGBrgb(44, 71, 156)
HSLhsl(226, 56%, 39%)
HSVhsv(226, 72%, 61%)
CMYKcmyk(71.8%, 54.5%, 0%, 38.8%)
CIE-LABlab(32.79, 20.02, -49.39)
CIE-LCHlch(32.79, 53.29, 292.06°)
OKLaboklab(42.8% -0.0076 -0.1421)
OKLCHoklch(42.8% 0.142 266.9)
XYZxyz(9.2906, 7.4413, 32.3927)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C479C #9C812C
analogous
#2C7F9C #2C479C #492C9C
triadic
#2C479C #9C2C47 #479C2C
tetradic
#2C479C #9C2C7F #9C812C #2C9C49
square
#2C479C #9C2C7F #9C812C #2C9C49
split-complementary
#2C479C #9C492C #7F9C2C
monochromatic
#111C3D #1F316C #2C479C #3D5FC8 #6D86D6

Accessibility & contrast

On white

8.44
#2C479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2C479C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C479C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C479C#FFFFFF#000000##FFFFFF
##2C479C1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07529F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c479c;
/* rgb */ color: rgb(44, 71, 156);
/* oklch */ color: oklch(42.8% 0.142 266.9);
Tailwind
colors: {
  custom: {
    50: '#7479ba',
    500: '#2c479c',
    950: '#000000',
  },
}
SCSS
$custom: #2c479c;
$custom-light: #7479ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c479c",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 225.536,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42795,
    "c": 0.14232,
    "h": 266.9
  },
  "luminance": 0.07442
}

Semantic roles & 50–950 ramp

primary
#2C479C
secondary
#BDA867
accent
#BB49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C479C

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

Preview Lab → · Contrast checker → · Palette generator →

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