#2C2083#2C2083

#2C2083 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.156 H 279.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#2C2083
RGBrgb(44, 32, 131)
HSLhsl(247, 61%, 32%)
HSVhsv(247, 76%, 51%)
CMYKcmyk(66.4%, 75.6%, 0%, 48.6%)
CIE-LABlab(20.85, 36.29, -53.44)
CIE-LCHlch(20.85, 64.60, 304.18°)
OKLaboklab(33.35% 0.0249 -0.1543)
OKLCHoklch(33.35% 0.156 279.2)
XYZxyz(5.6506, 3.2067, 21.7895)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2083 #778320
analogous
#204683 #2C2083 #5E2083
triadic
#2C2083 #832C20 #20832C
tetradic
#2C2083 #832046 #778320 #20835E
square
#2C2083 #832046 #778320 #20835E
split-complementary
#2C2083 #835E20 #468320
monochromatic
#0B0821 #1B1452 #2C2083 #3D2CB4 #5B4AD3

Accessibility & contrast

On white

12.79
#2C2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2C2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2083
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2083#FFFFFF#000000##FFFFFF
##2C20831.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c2083;
/* rgb */ color: rgb(44, 32, 131);
/* oklch */ color: oklch(33.3% 0.156 279.2);
Tailwind
colors: {
  custom: {
    50: '#725da8',
    500: '#2c2083',
    950: '#000000',
  },
}
SCSS
$custom: #2c2083;
$custom-light: #725da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2083",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 247.273,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33347,
    "c": 0.15627,
    "h": 279.2
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#2C2083
secondary
#A8B649
accent
#E444D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2083

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

Preview Lab → · Contrast checker → · Palette generator →

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