#2C144E#2C144E

#2C144E is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.101 H 298.0°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#2C144E
RGBrgb(44, 20, 78)
HSLhsl(265, 59%, 19%)
HSVhsv(265, 74%, 31%)
CMYKcmyk(43.6%, 74.4%, 0%, 69.4%)
CIE-LABlab(13.14, 26.26, -31.27)
CIE-LCHlch(13.14, 40.83, 310.02°)
OKLaboklab(26.28% 0.0475 -0.0892)
OKLCHoklch(26.28% 0.101 298)
XYZxyz(2.6637, 1.5858, 7.3720)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C144E #364E14
analogous
#14194E #2C144E #49144E
triadic
#2C144E #4E2C14 #144E2C
tetradic
#2C144E #4E1419 #364E14 #144E49
square
#2C144E #4E1419 #364E14 #144E49
split-complementary
#2C144E #4E4914 #194E14
monochromatic
#0E0618 #11081D #2C144E #47207F #632DAF

Accessibility & contrast

On white

15.94
#2C144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2C144E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C144E
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C144E#FFFFFF#000000##FFFFFF
##2C144E1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#24222F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c144e;
/* rgb */ color: rgb(44, 20, 78);
/* oklch */ color: oklch(26.3% 0.101 298.0);
Tailwind
colors: {
  custom: {
    50: '#695380',
    500: '#2c144e',
    950: '#000000',
  },
}
SCSS
$custom: #2c144e;
$custom-light: #695380;
$custom-dark: #000000;
JSON
{
  "hex": "#2c144e",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 264.828,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26275,
    "c": 0.10107,
    "h": 298
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#2C144E
secondary
#668638
accent
#E245A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C144E

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

Preview Lab → · Contrast checker → · Palette generator →

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