#2C2B60#2C2B60

#2C2B60 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.092 H 280.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2C2B60
RGBrgb(44, 43, 96)
HSLhsl(241, 38%, 27%)
HSVhsv(241, 55%, 38%)
CMYKcmyk(54.2%, 55.2%, 0%, 62.4%)
CIE-LABlab(20.47, 16.91, -31.53)
CIE-LCHlch(20.47, 35.78, 298.21°)
OKLaboklab(32.11% 0.0171 -0.0899)
OKLCHoklch(32.11% 0.092 280.8)
XYZxyz(4.0133, 3.1075, 11.4524)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B60 #5F602B
analogous
#2B4560 #2C2B60 #472B60
triadic
#2C2B60 #602C2B #2B602C
tetradic
#2C2B60 #602B45 #5F602B #2B6047
square
#2C2B60 #602B45 #5F602B #2B6047
split-complementary
#2C2B60 #60472B #45602B
monochromatic
#0A0915 #191836 #2C2B60 #3F3E8A #5553B2

Accessibility & contrast

On white

12.95
#2C2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B60
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B60#FFFFFF#000000##FFFFFF
##2C2B601.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103362
Deuteranopia (green-blind)
#0B2F5F
Tritanopia (blue-blind)
#183741
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c2b60;
/* rgb */ color: rgb(44, 43, 96);
/* oklch */ color: oklch(32.1% 0.092 280.8);
Tailwind
colors: {
  custom: {
    50: '#6a648d',
    500: '#2c2b60',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b60;
$custom-light: #6a648d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b60",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 241.132,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32111,
    "c": 0.09153,
    "h": 280.8
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#2C2B60
secondary
#919255
accent
#CE5ACC
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2C2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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