#2C134B#2C134B

#2C134B is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.099 H 300.0°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#2C134B
RGBrgb(44, 19, 75)
HSLhsl(267, 60%, 18%)
HSVhsv(267, 75%, 29%)
CMYKcmyk(41.3%, 74.7%, 0%, 70.6%)
CIE-LABlab(12.67, 25.95, -29.97)
CIE-LCHlch(12.67, 39.65, 310.88°)
OKLaboklab(25.85% 0.0493 -0.0854)
OKLCHoklch(25.85% 0.099 300)
XYZxyz(2.5413, 1.5092, 6.8127)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C134B #324B13
analogous
#13164B #2C134B #48134B
triadic
#2C134B #4B2C13 #134B2C
tetradic
#2C134B #4B1316 #324B13 #134B48
square
#2C134B #4B1316 #324B13 #134B48
split-complementary
#2C134B #4B4813 #164B13
monochromatic
#0E0618 #0F071A #2C134B #491F7C #652CAD

Accessibility & contrast

On white

16.13
#2C134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2C134B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C134B
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C134B#FFFFFF#000000##FFFFFF
##2C134B1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#25202D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c134b;
/* rgb */ color: rgb(44, 19, 75);
/* oklch */ color: oklch(25.9% 0.099 300.0);
Tailwind
colors: {
  custom: {
    50: '#68537e',
    500: '#2c134b',
    950: '#000000',
  },
}
SCSS
$custom: #2c134b;
$custom-light: #68537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c134b",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 266.786,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25851,
    "c": 0.09858,
    "h": 300
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#2C134B
secondary
#618436
accent
#E3459C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C134B

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

Preview Lab → · Contrast checker → · Palette generator →

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