#2C2C9A#2C2C9A

#2C2C9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.173 H 274.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2C2C9A
RGBrgb(44, 44, 154)
HSLhsl(240, 56%, 39%)
HSVhsv(240, 71%, 60%)
CMYKcmyk(71.4%, 71.4%, 0%, 39.6%)
CIE-LABlab(25.77, 36.96, -59.63)
CIE-LCHlch(25.77, 70.16, 301.79°)
OKLaboklab(37.56% 0.0127 -0.1724)
OKLCHoklch(37.56% 0.173 274.2)
XYZxyz(7.7702, 4.6692, 31.0573)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C9A #9A9A2C
analogous
#2C639A #2C2C9A #632C9A
triadic
#2C2C9A #9A2C2C #2C9A2C
tetradic
#2C2C9A #9A2C63 #9A9A2C #2C9A63
square
#2C2C9A #9A2C63 #9A9A2C #2C9A63
split-complementary
#2C2C9A #9A632C #639A2C
monochromatic
#11113B #1E1E6A #2C2C9A #3C3CC7 #6C6CD5

Accessibility & contrast

On white

10.86
#2C2C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C2C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C9A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C9A#FFFFFF#000000##FFFFFF
##2C2C9A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c2c9a;
/* rgb */ color: rgb(44, 44, 154);
/* oklch */ color: oklch(37.6% 0.173 274.2);
Tailwind
colors: {
  custom: {
    50: '#7666b9',
    500: '#2c2c9a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c9a;
$custom-light: #7666b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c9a",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 240,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37561,
    "c": 0.17286,
    "h": 274.2
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#2C2C9A
secondary
#BCBC66
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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