#2C2D60#2C2D60

#2C2D60 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.088 H 279.4°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#2C2D60
RGBrgb(44, 45, 96)
HSLhsl(239, 37%, 27%)
HSVhsv(239, 54%, 38%)
CMYKcmyk(54.2%, 53.1%, 0%, 62.4%)
CIE-LABlab(21.04, 15.51, -30.61)
CIE-LCHlch(21.04, 34.31, 296.88°)
OKLaboklab(32.54% 0.0145 -0.0872)
OKLCHoklch(32.54% 0.088 279.4)
XYZxyz(4.0878, 3.2565, 11.4772)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D60 #605F2C
analogous
#2C4760 #2C2D60 #452C60
triadic
#2C2D60 #602C2D #2D602C
tetradic
#2C2D60 #602C47 #605F2C #2C6045
square
#2C2D60 #602C47 #605F2C #2C6045
split-complementary
#2C2D60 #60452C #47602C
monochromatic
#0A0A15 #191936 #2C2D60 #3F418A #5557B1

Accessibility & contrast

On white

12.72
#2C2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2C2D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D60
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D60#FFFFFF#000000##FFFFFF
##2C2D601.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153562
Deuteranopia (green-blind)
#10315F
Tritanopia (blue-blind)
#173842
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2d60;
/* rgb */ color: rgb(44, 45, 96);
/* oklch */ color: oklch(32.5% 0.088 279.4);
Tailwind
colors: {
  custom: {
    50: '#69658d',
    500: '#2c2d60',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d60;
$custom-light: #69658d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d60",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 238.846,
    "s": 37.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32543,
    "c": 0.0884,
    "h": 279.4
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#2C2D60
secondary
#929156
accent
#CB5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2C2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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