#2C2C8C#2C2C8C

#2C2C8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.154 H 275.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2C2C8C
RGBrgb(44, 44, 140)
HSLhsl(240, 52%, 36%)
HSVhsv(240, 69%, 55%)
CMYKcmyk(68.6%, 68.6%, 0%, 45.1%)
CIE-LABlab(24.42, 32.04, -53.22)
CIE-LCHlch(24.42, 62.13, 301.05°)
OKLaboklab(36.17% 0.0147 -0.1536)
OKLCHoklch(36.17% 0.154 275.4)
XYZxyz(6.6715, 4.2297, 25.2707)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C8C #8C8C2C
analogous
#2C5C8C #2C2C8C #5C2C8C
triadic
#2C2C8C #8C2C2C #2C8C2C
tetradic
#2C2C8C #8C2C5C #8C8C2C #2C8C5C
square
#2C2C8C #8C2C5C #8C8C2C #2C8C5C
split-complementary
#2C2C8C #8C5C2C #5C8C2C
monochromatic
#0F0F2F #1D1D5D #2C2C8C #3B3BBB #6464CE

Accessibility & contrast

On white

11.38
#2C2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C2C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C8C
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C8C#FFFFFF#000000##FFFFFF
##2C2C8C1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2c8c;
/* rgb */ color: rgb(44, 44, 140);
/* oklch */ color: oklch(36.2% 0.154 275.4);
Tailwind
colors: {
  custom: {
    50: '#7365af',
    500: '#2c2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c8c;
$custom-light: #7365af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c8c",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36172,
    "c": 0.15435,
    "h": 275.4
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#2C2C8C
secondary
#B5B55F
accent
#DC4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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