#2C2792#2C2792

#2C2792 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.168 H 275.9°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#2C2792
RGBrgb(44, 39, 146)
HSLhsl(243, 58%, 36%)
HSVhsv(243, 73%, 57%)
CMYKcmyk(69.9%, 73.3%, 0%, 42.7%)
CIE-LABlab(23.87, 37.23, -57.84)
CIE-LCHlch(23.87, 68.78, 302.77°)
OKLaboklab(35.96% 0.0172 -0.1671)
OKLCHoklch(35.96% 0.168 275.9)
XYZxyz(6.9508, 4.0612, 27.6061)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2792 #8D9227
analogous
#275892 #2C2792 #622792
triadic
#2C2792 #922C27 #27922C
tetradic
#2C2792 #922758 #8D9227 #279262
square
#2C2792 #922758 #8D9227 #279262
split-complementary
#2C2792 #926227 #589227
monochromatic
#0F0D31 #1D1A62 #2C2792 #3B34C2 #655FD4

Accessibility & contrast

On white

11.59
#2C2792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C2792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2792
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2792#FFFFFF#000000##FFFFFF
##2C27921.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2792;
/* rgb */ color: rgb(44, 39, 146);
/* oklch */ color: oklch(36.0% 0.168 275.9);
Tailwind
colors: {
  custom: {
    50: '#7462b3',
    500: '#2c2792',
    950: '#000000',
  },
}
SCSS
$custom: #2c2792;
$custom-light: #7462b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2792",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 242.804,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35959,
    "c": 0.16801,
    "h": 275.9
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#2C2792
secondary
#B5BA5B
accent
#E147DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2792

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

Preview Lab → · Contrast checker → · Palette generator →

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