#2C2C82#2C2C82

#2C2C82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.141 H 276.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2C2C82
RGBrgb(44, 44, 130)
HSLhsl(240, 49%, 34%)
HSVhsv(240, 66%, 51%)
CMYKcmyk(66.2%, 66.2%, 0%, 49%)
CIE-LABlab(23.50, 28.47, -48.47)
CIE-LCHlch(23.50, 56.22, 300.43°)
OKLaboklab(35.22% 0.0157 -0.1397)
OKLCHoklch(35.22% 0.141 276.4)
XYZxyz(5.9673, 3.9480, 21.5623)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C82 #82822C
analogous
#2C5782 #2C2C82 #572C82
triadic
#2C2C82 #822C2C #2C822C
tetradic
#2C2C82 #822C57 #82822C #2C8257
square
#2C2C82 #822C57 #82822C #2C8257
split-complementary
#2C2C82 #82572C #57822C
monochromatic
#0D0D27 #1D1D54 #2C2C82 #3B3BB0 #5F5FC9

Accessibility & contrast

On white

11.73
#2C2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C2C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C82
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C82#FFFFFF#000000##FFFFFF
##2C2C821.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2c82;
/* rgb */ color: rgb(44, 44, 130);
/* oklch */ color: oklch(35.2% 0.141 276.4);
Tailwind
colors: {
  custom: {
    50: '#7065a7',
    500: '#2c2c82',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c82;
$custom-light: #7065a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c82",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35222,
    "c": 0.14061,
    "h": 276.4
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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