#2C2790#2C2790

#2C2790 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.165 H 276.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2C2790
RGBrgb(44, 39, 144)
HSLhsl(243, 57%, 36%)
HSVhsv(243, 73%, 56%)
CMYKcmyk(69.4%, 72.9%, 0%, 43.5%)
CIE-LABlab(23.67, 36.54, -56.93)
CIE-LCHlch(23.67, 67.65, 302.69°)
OKLaboklab(35.75% 0.0176 -0.1645)
OKLCHoklch(35.75% 0.165 276.1)
XYZxyz(6.7966, 3.9995, 26.7940)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2790 #8B9027
analogous
#275690 #2C2790 #602790
triadic
#2C2790 #902C27 #27902C
tetradic
#2C2790 #902756 #8B9027 #279060
square
#2C2790 #902756 #8B9027 #279060
split-complementary
#2C2790 #906027 #569027
monochromatic
#0F0D30 #1D1A60 #2C2790 #3B34C0 #645ED3

Accessibility & contrast

On white

11.67
#2C2790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C2790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2790
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2790#FFFFFF#000000##FFFFFF
##2C27901.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2790;
/* rgb */ color: rgb(44, 39, 144);
/* oklch */ color: oklch(35.8% 0.165 276.1);
Tailwind
colors: {
  custom: {
    50: '#7462b2',
    500: '#2c2790',
    950: '#000000',
  },
}
SCSS
$custom: #2c2790;
$custom-light: #7462b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2790",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 242.857,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35753,
    "c": 0.16543,
    "h": 276.1
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#2C2790
secondary
#B4B95A
accent
#E147D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2790

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

Preview Lab → · Contrast checker → · Palette generator →

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