#2C2C60#2C2C60

#2C2C60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.090 H 280.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2C2C60
RGBrgb(44, 44, 96)
HSLhsl(240, 37%, 27%)
HSVhsv(240, 54%, 38%)
CMYKcmyk(54.2%, 54.2%, 0%, 62.4%)
CIE-LABlab(20.76, 16.21, -31.07)
CIE-LCHlch(20.76, 35.05, 297.56°)
OKLaboklab(32.33% 0.0158 -0.0886)
OKLCHoklch(32.33% 0.09 280.1)
XYZxyz(4.0501, 3.1811, 11.4647)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C60 #60602C
analogous
#2C4660 #2C2C60 #462C60
triadic
#2C2C60 #602C2C #2C602C
tetradic
#2C2C60 #602C46 #60602C #2C6046
square
#2C2C60 #602C46 #60602C #2C6046
split-complementary
#2C2C60 #60462C #46602C
monochromatic
#0A0A15 #191936 #2C2C60 #3F3F8A #5555B1

Accessibility & contrast

On white

12.83
#2C2C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2C60
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C60#FFFFFF#000000##FFFFFF
##2C2C601.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133462
Deuteranopia (green-blind)
#0E305F
Tritanopia (blue-blind)
#173741
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c2c60;
/* rgb */ color: rgb(44, 44, 96);
/* oklch */ color: oklch(32.3% 0.090 280.1);
Tailwind
colors: {
  custom: {
    50: '#6a658d',
    500: '#2c2c60',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c60;
$custom-light: #6a658d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c60",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 240,
    "s": 37.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32326,
    "c": 0.08996,
    "h": 280.1
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#2C2C60
secondary
#929256
accent
#CD5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2C2C60

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

Preview Lab → · Contrast checker → · Palette generator →

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