#2C2C5D#2C2C5D

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

Color values

HEX#2C2C5D
RGBrgb(44, 44, 93)
HSLhsl(240, 36%, 27%)
HSVhsv(240, 53%, 36%)
CMYKcmyk(52.7%, 52.7%, 0%, 63.5%)
CIE-LABlab(20.55, 15.15, -29.43)
CIE-LCHlch(20.55, 33.10, 297.24°)
OKLaboklab(32.1% 0.0155 -0.0837)
OKLCHoklch(32.1% 0.085 280.5)
XYZxyz(3.9146, 3.1269, 10.7511)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C5D #5D5D2C
analogous
#2C455D #2C2C5D #452C5D
triadic
#2C2C5D #5D2C2C #2C5D2C
tetradic
#2C2C5D #5D2C45 #5D5D2C #2C5D45
square
#2C2C5D #5D2C45 #5D5D2C #2C5D45
split-complementary
#2C2C5D #5D452C #455D2C
monochromatic
#0A0A15 #181833 #2C2C5D #404087 #5555AF

Accessibility & contrast

On white

12.92
#2C2C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2C2C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C5D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C5D#FFFFFF#000000##FFFFFF
##2C2C5D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335F
Deuteranopia (green-blind)
#12305C
Tritanopia (blue-blind)
#1A3740
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c2c5d;
/* rgb */ color: rgb(44, 44, 93);
/* oklch */ color: oklch(32.1% 0.085 280.5);
Tailwind
colors: {
  custom: {
    50: '#69658b',
    500: '#2c2c5d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c5d;
$custom-light: #69658b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c5d",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 240,
    "s": 35.766,
    "l": 26.863
  },
  "oklch": {
    "l": 0.321,
    "c": 0.08517,
    "h": 280.5
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#2C2C5D
secondary
#8F8F56
accent
#CC5CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #2C2C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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