#2C2C8D#2C2C8D

#2C2C8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.156 H 275.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2C2C8D
RGBrgb(44, 44, 141)
HSLhsl(240, 52%, 36%)
HSVhsv(240, 69%, 55%)
CMYKcmyk(68.8%, 68.8%, 0%, 44.7%)
CIE-LABlab(24.51, 32.40, -53.69)
CIE-LCHlch(24.51, 62.71, 301.11°)
OKLaboklab(36.27% 0.0145 -0.155)
OKLCHoklch(36.27% 0.156 275.4)
XYZxyz(6.7455, 4.2593, 25.6608)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C8D #8D8D2C
analogous
#2C5D8D #2C2C8D #5D2C8D
triadic
#2C2C8D #8D2C2C #2C8D2C
tetradic
#2C2C8D #8D2C5D #8D8D2C #2C8D5D
square
#2C2C8D #8D2C5D #8D8D2C #2C8D5D
split-complementary
#2C2C8D #8D5D2C #5D8D2C
monochromatic
#0F0F30 #1D1D5E #2C2C8D #3B3BBC #6565CF

Accessibility & contrast

On white

11.34
#2C2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2C8D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C8D#FFFFFF#000000##FFFFFF
##2C2C8D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2c8d;
/* rgb */ color: rgb(44, 44, 141);
/* oklch */ color: oklch(36.3% 0.156 275.4);
Tailwind
colors: {
  custom: {
    50: '#7366af',
    500: '#2c2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c8d;
$custom-light: #7366af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c8d",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36269,
    "c": 0.1557,
    "h": 275.4
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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