#2C2A9C#2C2A9C

#2C2A9C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.178 H 274.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2C2A9C
RGBrgb(44, 42, 156)
HSLhsl(241, 58%, 39%)
HSVhsv(241, 73%, 61%)
CMYKcmyk(71.8%, 73.1%, 0%, 38.8%)
CIE-LABlab(25.54, 38.85, -61.24)
CIE-LCHlch(25.54, 72.53, 302.39°)
OKLaboklab(37.45% 0.0136 -0.1771)
OKLCHoklch(37.45% 0.178 274.4)
XYZxyz(7.8654, 4.5909, 31.9177)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A9C #9A9C2A
analogous
#2A619C #2C2A9C #652A9C
triadic
#2C2A9C #9C2C2A #2A9C2C
tetradic
#2C2A9C #9C2A61 #9A9C2A #2A9C65
square
#2C2A9C #9C2A61 #9A9C2A #2A9C65
split-complementary
#2C2A9C #9C652A #619C2A
monochromatic
#11103C #1E1D6C #2C2A9C #3C39CA #6C6AD7

Accessibility & contrast

On white

10.95
#2C2A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C2A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A9C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A9C#FFFFFF#000000##FFFFFF
##2C2A9C1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c2a9c;
/* rgb */ color: rgb(44, 42, 156);
/* oklch */ color: oklch(37.5% 0.178 274.4);
Tailwind
colors: {
  custom: {
    50: '#7665ba',
    500: '#2c2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a9c;
$custom-light: #7665ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a9c",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 241.053,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37453,
    "c": 0.1776,
    "h": 274.4
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#2C2A9C
secondary
#BCBD65
accent
#E147DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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