#2C244B#2C244B

#2C244B is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.0% C 0.069 H 290.9°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#2C244B
RGBrgb(44, 36, 75)
HSLhsl(252, 35%, 22%)
HSVhsv(252, 52%, 29%)
CMYKcmyk(41.3%, 52%, 0%, 70.6%)
CIE-LABlab(17.01, 14.64, -22.99)
CIE-LCHlch(17.01, 27.26, 302.49°)
OKLaboklab(29.05% 0.0247 -0.0649)
OKLCHoklch(29.05% 0.069 290.9)
XYZxyz(2.9392, 2.3051, 6.9453)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C244B #434B24
analogous
#24304B #2C244B #40244B
triadic
#2C244B #4B2C24 #244B2C
tetradic
#2C244B #4B2430 #434B24 #244B40
square
#2C244B #4B2430 #434B24 #244B40
split-complementary
#2C244B #4B4024 #304B24
monochromatic
#0C0A15 #141022 #2C244B #443874 #5D4C9E

Accessibility & contrast

On white

14.37
#2C244B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2C244B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C244B
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C244B#FFFFFF#000000##FFFFFF
##2C244B1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4C
Deuteranopia (green-blind)
#17294A
Tritanopia (blue-blind)
#242C33
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c244b;
/* rgb */ color: rgb(44, 36, 75);
/* oklch */ color: oklch(29.0% 0.069 290.9);
Tailwind
colors: {
  custom: {
    50: '#675e7d',
    500: '#2c244b',
    950: '#000000',
  },
}
SCSS
$custom: #2c244b;
$custom-light: #675e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c244b",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 75
  },
  "hsl": {
    "h": 252.308,
    "s": 35.135,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29049,
    "c": 0.06946,
    "h": 290.9
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#2C244B
secondary
#747E4C
accent
#CB5DB5
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2C244B

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

Preview Lab → · Contrast checker → · Palette generator →

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