#2C2D5D#2C2D5D

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

Color values

HEX#2C2D5D
RGBrgb(44, 45, 93)
HSLhsl(239, 36%, 27%)
HSVhsv(239, 53%, 36%)
CMYKcmyk(52.7%, 51.6%, 0%, 63.5%)
CIE-LABlab(20.84, 14.45, -28.97)
CIE-LCHlch(20.84, 32.37, 296.51°)
OKLaboklab(32.32% 0.0141 -0.0824)
OKLCHoklch(32.32% 0.084 279.7)
XYZxyz(3.9523, 3.2023, 10.7637)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D5D #5D5C2C
analogous
#2C465D #2C2D5D #442C5D
triadic
#2C2D5D #5D2C2D #2D5D2C
tetradic
#2C2D5D #5D2C46 #5D5C2C #2C5D44
square
#2C2D5D #5D2C46 #5D5C2C #2C5D44
split-complementary
#2C2D5D #5D442C #465D2C
monochromatic
#0A0A15 #181933 #2C2D5D #404187 #5557AF

Accessibility & contrast

On white

12.80
#2C2D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2D5D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D5D#FFFFFF#000000##FFFFFF
##2C2D5D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#14305C
Tritanopia (blue-blind)
#1A3740
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c2d5d;
/* rgb */ color: rgb(44, 45, 93);
/* oklch */ color: oklch(32.3% 0.084 279.7);
Tailwind
colors: {
  custom: {
    50: '#69658b',
    500: '#2c2d5d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d5d;
$custom-light: #69658b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d5d",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 238.776,
    "s": 35.766,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3232,
    "c": 0.08357,
    "h": 279.7
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#2C2D5D
secondary
#8F8E56
accent
#CA5CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #2C2D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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