#2C2D5E#2C2D5E

#2C2D5E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.085 H 279.6°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#2C2D5E
RGBrgb(44, 45, 94)
HSLhsl(239, 36%, 27%)
HSVhsv(239, 53%, 37%)
CMYKcmyk(53.2%, 52.1%, 0%, 63.1%)
CIE-LABlab(20.91, 14.80, -29.51)
CIE-LCHlch(20.91, 33.02, 296.63°)
OKLaboklab(32.39% 0.0143 -0.084)
OKLCHoklch(32.39% 0.085 279.6)
XYZxyz(3.9969, 3.2202, 10.9985)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D5E #5E5D2C
analogous
#2C465E #2C2D5E #442C5E
triadic
#2C2D5E #5E2C2D #2D5E2C
tetradic
#2C2D5E #5E2C46 #5E5D2C #2C5E44
square
#2C2D5E #5E2C46 #5E5D2C #2C5E44
split-complementary
#2C2D5E #5E442C #465E2C
monochromatic
#0A0A15 #181934 #2C2D5E #404188 #5557AF

Accessibility & contrast

On white

12.77
#2C2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2D5E
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D5E#FFFFFF#000000##FFFFFF
##2C2D5E1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173460
Deuteranopia (green-blind)
#13305D
Tritanopia (blue-blind)
#193841
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c2d5e;
/* rgb */ color: rgb(44, 45, 94);
/* oklch */ color: oklch(32.4% 0.085 279.6);
Tailwind
colors: {
  custom: {
    50: '#69658c',
    500: '#2c2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d5e;
$custom-light: #69658c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d5e",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 238.8,
    "s": 36.232,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32394,
    "c": 0.08518,
    "h": 279.6
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#2C2D5E
secondary
#908F56
accent
#CA5CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #2C2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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