#2C2A67#2C2A67

#2C2A67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.104 H 280.4°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#2C2A67
RGBrgb(44, 42, 103)
HSLhsl(242, 42%, 28%)
HSVhsv(242, 59%, 40%)
CMYKcmyk(57.3%, 59.2%, 0%, 59.6%)
CIE-LABlab(20.71, 20.11, -35.72)
CIE-LCHlch(20.71, 40.99, 299.38°)
OKLaboklab(32.46% 0.0187 -0.1022)
OKLCHoklch(32.46% 0.104 280.4)
XYZxyz(4.3141, 3.1704, 13.2140)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A67 #65672A
analogous
#2A4667 #2C2A67 #4A2A67
triadic
#2C2A67 #672C2A #2A672C
tetradic
#2C2A67 #672A46 #65672A #2A674A
square
#2C2A67 #672A46 #65672A #2A674A
split-complementary
#2C2A67 #674A2A #46672A
monochromatic
#090916 #19183C #2C2A67 #3F3C92 #5653B9

Accessibility & contrast

On white

12.85
#2C2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2C2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A67
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A67#FFFFFF#000000##FFFFFF
##2C2A671.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013469
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#113844
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c2a67;
/* rgb */ color: rgb(44, 42, 103);
/* oklch */ color: oklch(32.5% 0.104 280.4);
Tailwind
colors: {
  custom: {
    50: '#6b6393',
    500: '#2c2a67',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a67;
$custom-light: #6b6393;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a67",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 241.967,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32461,
    "c": 0.10395,
    "h": 280.4
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#2C2A67
secondary
#979954
accent
#D256CE
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2C2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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