#2C2C83#2C2C83

#2C2C83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.142 H 276.3°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2C2C83
RGBrgb(44, 44, 131)
HSLhsl(240, 50%, 34%)
HSVhsv(240, 66%, 51%)
CMYKcmyk(66.4%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.59, 28.83, -48.96)
CIE-LCHlch(23.59, 56.81, 300.49°)
OKLaboklab(35.32% 0.0156 -0.1411)
OKLCHoklch(35.32% 0.142 276.3)
XYZxyz(6.0348, 3.9750, 21.9176)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C83 #83832C
analogous
#2C5883 #2C2C83 #582C83
triadic
#2C2C83 #832C2C #2C832C
tetradic
#2C2C83 #832C58 #83832C #2C8358
square
#2C2C83 #832C58 #83832C #2C8358
split-complementary
#2C2C83 #83582C #58832C
monochromatic
#0D0D27 #1D1D55 #2C2C83 #3B3BB1 #6060CA

Accessibility & contrast

On white

11.70
#2C2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2C83
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C83#FFFFFF#000000##FFFFFF
##2C2C831.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2c83;
/* rgb */ color: rgb(44, 44, 131);
/* oklch */ color: oklch(35.3% 0.142 276.3);
Tailwind
colors: {
  custom: {
    50: '#7165a8',
    500: '#2c2c83',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c83;
$custom-light: #7165a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c83",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35315,
    "c": 0.142,
    "h": 276.3
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#2C2C83
secondary
#B0B05B
accent
#D94FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2C2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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