#2C2A4C#2C2A4C

#2C2A4C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.060 H 284.9°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#2C2A4C
RGBrgb(44, 42, 76)
HSLhsl(244, 29%, 23%)
HSVhsv(244, 45%, 30%)
CMYKcmyk(42.1%, 44.7%, 0%, 70.2%)
CIE-LABlab(18.86, 10.72, -20.75)
CIE-LCHlch(18.86, 23.36, 297.31°)
OKLaboklab(30.46% 0.0155 -0.0583)
OKLCHoklch(30.46% 0.06 284.9)
XYZxyz(3.1708, 2.7131, 7.1927)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A4C #4A4C2A
analogous
#2A394C #2C2A4C #3D2A4C
triadic
#2C2A4C #4C2C2A #2A4C2C
tetradic
#2C2A4C #4C2A39 #4A4C2A #2A4C3D
square
#2C2A4C #4C2A39 #4A4C2A #2A4C3D
split-complementary
#2C2A4C #4C3D2A #394C2A
monochromatic
#0B0B14 #151425 #2C2A4C #434073 #5A569B

Accessibility & contrast

On white

13.61
#2C2A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2C2A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A4C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A4C#FFFFFF#000000##FFFFFF
##2C2A4C1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2F4D
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#233137
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c2a4c;
/* rgb */ color: rgb(44, 42, 76);
/* oklch */ color: oklch(30.5% 0.060 284.9);
Tailwind
colors: {
  custom: {
    50: '#67637e',
    500: '#2c2a4c',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a4c;
$custom-light: #67637e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a4c",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 243.529,
    "s": 28.814,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30465,
    "c": 0.06038,
    "h": 284.9
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#2C2A4C
secondary
#7C7E54
accent
#C563BF
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2C2A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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