#2C2799#2C2799

#2C2799 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.177 H 275.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2C2799
RGBrgb(44, 39, 153)
HSLhsl(243, 59%, 38%)
HSVhsv(243, 75%, 60%)
CMYKcmyk(71.2%, 74.5%, 0%, 40%)
CIE-LABlab(24.59, 39.60, -60.96)
CIE-LCHlch(24.59, 72.69, 303.01°)
OKLaboklab(36.69% 0.0159 -0.1762)
OKLCHoklch(36.69% 0.177 275.2)
XYZxyz(7.5121, 4.2857, 30.5622)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2799 #949927
analogous
#275B99 #2C2799 #652799
triadic
#2C2799 #992C27 #27992C
tetradic
#2C2799 #99275B #949927 #279965
square
#2C2799 #99275B #949927 #279965
split-complementary
#2C2799 #996527 #5B9927
monochromatic
#100E37 #1E1B68 #2C2799 #3A33CA #6863D7

Accessibility & contrast

On white

11.31
#2C2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2799
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2799#FFFFFF#000000##FFFFFF
##2C27991.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2799;
/* rgb */ color: rgb(44, 39, 153);
/* oklch */ color: oklch(36.7% 0.177 275.2);
Tailwind
colors: {
  custom: {
    50: '#7663b8',
    500: '#2c2799',
    950: '#000000',
  },
}
SCSS
$custom: #2c2799;
$custom-light: #7663b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2799",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 242.632,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3669,
    "c": 0.17696,
    "h": 275.2
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#2C2799
secondary
#B9BD5F
accent
#E345DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C2799

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

Preview Lab → · Contrast checker → · Palette generator →

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