#2C244F#2C244F

#2C244F is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.3% C 0.076 H 289.4°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#2C244F
RGBrgb(44, 36, 79)
HSLhsl(251, 37%, 23%)
HSVhsv(251, 54%, 31%)
CMYKcmyk(44.3%, 54.4%, 0%, 69%)
CIE-LABlab(17.28, 15.96, -25.29)
CIE-LCHlch(17.28, 29.90, 302.26°)
OKLaboklab(29.34% 0.0253 -0.0716)
OKLCHoklch(29.34% 0.076 289.4)
XYZxyz(3.0805, 2.3616, 7.6892)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C244F #474F24
analogous
#24314F #2C244F #42244F
triadic
#2C244F #4F2C24 #244F2C
tetradic
#2C244F #4F2431 #474F24 #244F42
square
#2C244F #4F2431 #474F24 #244F42
split-complementary
#2C244F #4F4224 #314F24
monochromatic
#0C0A15 #151125 #2C244F #433779 #5B4AA3

Accessibility & contrast

On white

14.26
#2C244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2C244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C244F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C244F#FFFFFF#000000##FFFFFF
##2C244F1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B51
Deuteranopia (green-blind)
#13294E
Tritanopia (blue-blind)
#222D35
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c244f;
/* rgb */ color: rgb(44, 36, 79);
/* oklch */ color: oklch(29.3% 0.076 289.4);
Tailwind
colors: {
  custom: {
    50: '#675e80',
    500: '#2c244f',
    950: '#000000',
  },
}
SCSS
$custom: #2c244f;
$custom-light: #675e80;
$custom-dark: #000000;
JSON
{
  "hex": "#2c244f",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 251.163,
    "s": 37.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29336,
    "c": 0.07595,
    "h": 289.4
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#2C244F
secondary
#78824C
accent
#CD5AB8
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2C244F

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

Preview Lab → · Contrast checker → · Palette generator →

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