#2C2473#2C2473

#2C2473 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.130 H 280.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#2C2473
RGBrgb(44, 36, 115)
HSLhsl(246, 52%, 30%)
HSVhsv(246, 69%, 45%)
CMYKcmyk(61.7%, 68.7%, 0%, 54.9%)
CIE-LABlab(20.18, 28.38, -44.35)
CIE-LCHlch(20.18, 52.66, 302.61°)
OKLaboklab(32.39% 0.0245 -0.1277)
OKLCHoklch(32.39% 0.13 280.9)
XYZxyz(4.7631, 3.0347, 16.5511)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2473 #6B7324
analogous
#244473 #2C2473 #542473
triadic
#2C2473 #732C24 #24732C
tetradic
#2C2473 #732444 #6B7324 #247354
square
#2C2473 #732444 #6B7324 #247354
split-complementary
#2C2473 #735424 #447324
monochromatic
#090717 #1A1544 #2C2473 #3E33A2 #574BC7

Accessibility & contrast

On white

13.07
#2C2473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2C2473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2473
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2473#FFFFFF#000000##FFFFFF
##2C24731.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c2473;
/* rgb */ color: rgb(44, 36, 115);
/* oklch */ color: oklch(32.4% 0.130 280.9);
Tailwind
colors: {
  custom: {
    50: '#6e5f9c',
    500: '#2c2473',
    950: '#000000',
  },
}
SCSS
$custom: #2c2473;
$custom-light: #6e5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2473",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 246.076,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32389,
    "c": 0.13,
    "h": 280.9
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#2C2473
secondary
#9DA64D
accent
#DC4CCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2C2473

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

Preview Lab → · Contrast checker → · Palette generator →

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