#2B134D#2B134D

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

Color values

HEX#2B134D
RGBrgb(43, 19, 77)
HSLhsl(265, 60%, 19%)
HSVhsv(265, 75%, 30%)
CMYKcmyk(44.2%, 75.3%, 0%, 69.8%)
CIE-LABlab(12.70, 26.32, -31.30)
CIE-LCHlch(12.70, 40.89, 310.06°)
OKLaboklab(25.9% 0.0473 -0.0893)
OKLCHoklch(25.9% 0.101 297.9)
XYZxyz(2.5683, 1.5151, 7.1769)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B134D #354D13
analogous
#13184D #2B134D #48134D
triadic
#2B134D #4D2B13 #134D2B
tetradic
#2B134D #4D1318 #354D13 #134D48
square
#2B134D #4D1318 #354D13 #134D48
split-complementary
#2B134D #4D4813 #184D13
monochromatic
#0E0619 #10071C #2B134D #461F7E #622BAF

Accessibility & contrast

On white

16.12
#2B134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B134D
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B134D#FFFFFF#000000##FFFFFF
##2B134D1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#23212E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b134d;
/* rgb */ color: rgb(43, 19, 77);
/* oklch */ color: oklch(25.9% 0.101 297.9);
Tailwind
colors: {
  custom: {
    50: '#68537f',
    500: '#2b134d',
    950: '#000000',
  },
}
SCSS
$custom: #2b134d;
$custom-light: #68537f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b134d",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 264.828,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25902,
    "c": 0.10107,
    "h": 297.9
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#2B134D
secondary
#658636
accent
#E444A2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B134D

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

Preview Lab → · Contrast checker → · Palette generator →

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