#2C2376#2C2376

#2C2376 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.135 H 280.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2C2376
RGBrgb(44, 35, 118)
HSLhsl(247, 54%, 30%)
HSVhsv(247, 70%, 46%)
CMYKcmyk(62.7%, 70.3%, 0%, 53.7%)
CIE-LABlab(20.22, 30.06, -46.21)
CIE-LCHlch(20.22, 55.13, 303.04°)
OKLaboklab(32.51% 0.025 -0.1331)
OKLCHoklch(32.51% 0.135 280.6)
XYZxyz(4.9087, 3.0452, 17.4651)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2376 #6D7623
analogous
#234476 #2C2376 #552376
triadic
#2C2376 #762C23 #23762C
tetradic
#2C2376 #762344 #6D7623 #237655
square
#2C2376 #762344 #6D7623 #237655
split-complementary
#2C2376 #765523 #447623
monochromatic
#090718 #1A1547 #2C2376 #3E31A5 #584AC9

Accessibility & contrast

On white

13.05
#2C2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2376
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2376#FFFFFF#000000##FFFFFF
##2C23761.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c2376;
/* rgb */ color: rgb(44, 35, 118);
/* oklch */ color: oklch(32.5% 0.135 280.6);
Tailwind
colors: {
  custom: {
    50: '#6f5f9e',
    500: '#2c2376',
    950: '#000000',
  },
}
SCSS
$custom: #2c2376;
$custom-light: #6f5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2376",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 246.506,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.32505,
    "c": 0.13545,
    "h": 280.6
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#2C2376
secondary
#9FA94C
accent
#DE4ACE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2C2376

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

Preview Lab → · Contrast checker → · Palette generator →

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