#2C2164#2C2164

#2C2164 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.5% C 0.113 H 285.0°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#2C2164
RGBrgb(44, 33, 100)
HSLhsl(250, 50%, 26%)
HSVhsv(250, 67%, 39%)
CMYKcmyk(56%, 67%, 0%, 60.8%)
CIE-LABlab(18.11, 25.16, -37.97)
CIE-LCHlch(18.11, 45.55, 303.52°)
OKLaboklab(30.47% 0.0293 -0.1089)
OKLCHoklch(30.47% 0.113 285)
XYZxyz(3.8821, 2.5431, 12.3404)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2164 #596421
analogous
#213764 #2C2164 #4D2164
triadic
#2C2164 #642C21 #21642C
tetradic
#2C2164 #642137 #596421 #21644D
square
#2C2164 #642137 #596421 #21644D
split-complementary
#2C2164 #644D21 #376421
monochromatic
#0A0817 #181236 #2C2164 #403092 #5540C0

Accessibility & contrast

On white

13.92
#2C2164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2C2164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2164
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2164#FFFFFF#000000##FFFFFF
##2C21641.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#15313F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2c2164;
/* rgb */ color: rgb(44, 33, 100);
/* oklch */ color: oklch(30.5% 0.113 285.0);
Tailwind
colors: {
  custom: {
    50: '#6b5d91',
    500: '#2c2164',
    950: '#000000',
  },
}
SCSS
$custom: #2c2164;
$custom-light: #6b5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2164",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 249.851,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30469,
    "c": 0.11279,
    "h": 285
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#2C2164
secondary
#8B9849
accent
#DA4EC3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040D
muted
#7A797D

Preview Lab

Preview with #2C2164

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

Preview Lab → · Contrast checker → · Palette generator →

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