#2C134E#2C134E

#2C134E is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.103 H 298.4°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#2C134E
RGBrgb(44, 19, 78)
HSLhsl(265, 61%, 19%)
HSVhsv(265, 76%, 31%)
CMYKcmyk(43.6%, 75.6%, 0%, 69.4%)
CIE-LABlab(12.93, 26.85, -31.61)
CIE-LCHlch(12.93, 41.48, 310.34°)
OKLaboklab(26.12% 0.0487 -0.0902)
OKLCHoklch(26.12% 0.103 298.4)
XYZxyz(2.6464, 1.5512, 7.3662)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C134E #354E13
analogous
#13184E #2C134E #4A134E
triadic
#2C134E #4E2C13 #134E2C
tetradic
#2C134E #4E1318 #354E13 #134E4A
square
#2C134E #4E1318 #354E13 #134E4A
split-complementary
#2C134E #4E4A13 #184E13
monochromatic
#0E0619 #10071D #2C134E #481F7F #642BB0

Accessibility & contrast

On white

16.03
#2C134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2C134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C134E
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C134E#FFFFFF#000000##FFFFFF
##2C134E1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#24212E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c134e;
/* rgb */ color: rgb(44, 19, 78);
/* oklch */ color: oklch(26.1% 0.103 298.4);
Tailwind
colors: {
  custom: {
    50: '#695380',
    500: '#2c134e',
    950: '#000000',
  },
}
SCSS
$custom: #2c134e;
$custom-light: #695380;
$custom-dark: #000000;
JSON
{
  "hex": "#2c134e",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 265.424,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26123,
    "c": 0.10254,
    "h": 298.4
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#2C134E
secondary
#658736
accent
#E444A0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C134E

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

Preview Lab → · Contrast checker → · Palette generator →

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