#2C2472#2C2472

#2C2472 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.129 H 281.0°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#2C2472
RGBrgb(44, 36, 114)
HSLhsl(246, 52%, 29%)
HSVhsv(246, 68%, 45%)
CMYKcmyk(61.4%, 68.4%, 0%, 55.3%)
CIE-LABlab(20.09, 28.03, -43.86)
CIE-LCHlch(20.09, 52.05, 302.59°)
OKLaboklab(32.29% 0.0246 -0.1262)
OKLCHoklch(32.29% 0.129 281)
XYZxyz(4.7059, 3.0118, 16.2497)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2472 #6A7224
analogous
#244372 #2C2472 #532472
triadic
#2C2472 #722C24 #24722C
tetradic
#2C2472 #722443 #6A7224 #247253
square
#2C2472 #722443 #6A7224 #247253
split-complementary
#2C2472 #725324 #437224
monochromatic
#090717 #1A1543 #2C2472 #3E33A1 #574AC6

Accessibility & contrast

On white

13.11
#2C2472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2C2472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2472
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2472#FFFFFF#000000##FFFFFF
##2C24721.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#013847
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c2472;
/* rgb */ color: rgb(44, 36, 114);
/* oklch */ color: oklch(32.3% 0.129 281.0);
Tailwind
colors: {
  custom: {
    50: '#6e5f9b',
    500: '#2c2472',
    950: '#000000',
  },
}
SCSS
$custom: #2c2472;
$custom-light: #6e5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2472",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 246.154,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32294,
    "c": 0.1286,
    "h": 281
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#2C2472
secondary
#9CA54D
accent
#DB4CCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2C2472

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

Preview Lab → · Contrast checker → · Palette generator →

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