#2C2A64#2C2A64

#2C2A64 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.099 H 280.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#2C2A64
RGBrgb(44, 42, 100)
HSLhsl(242, 41%, 28%)
HSVhsv(242, 58%, 39%)
CMYKcmyk(56%, 58%, 0%, 60.8%)
CIE-LABlab(20.48, 19.03, -34.13)
CIE-LCHlch(20.48, 39.08, 299.15°)
OKLaboklab(32.22% 0.0186 -0.0976)
OKLCHoklch(32.22% 0.099 280.8)
XYZxyz(4.1662, 3.1113, 12.4351)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A64 #62642A
analogous
#2A4564 #2C2A64 #492A64
triadic
#2C2A64 #642C2A #2A642C
tetradic
#2C2A64 #642A45 #62642A #2A6449
square
#2C2A64 #642A45 #62642A #2A6449
split-complementary
#2C2A64 #64492A #45642A
monochromatic
#090916 #191839 #2C2A64 #3F3C8F #5652B6

Accessibility & contrast

On white

12.94
#2C2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2C2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A64
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A64#FFFFFF#000000##FFFFFF
##2C2A641.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073466
Deuteranopia (green-blind)
#002F63
Tritanopia (blue-blind)
#143742
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c2a64;
/* rgb */ color: rgb(44, 42, 100);
/* oklch */ color: oklch(32.2% 0.099 280.8);
Tailwind
colors: {
  custom: {
    50: '#6a6391',
    500: '#2c2a64',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a64;
$custom-light: #6a6391;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a64",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 242.069,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32217,
    "c": 0.09934,
    "h": 280.8
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#2C2A64
secondary
#949653
accent
#D157CC
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050D
muted
#7A797D

Preview Lab

Preview with #2C2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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