#2B134B#2B134B

#2B134B is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.098 H 298.9°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#2B134B
RGBrgb(43, 19, 75)
HSLhsl(266, 60%, 18%)
HSVhsv(266, 75%, 29%)
CMYKcmyk(42.7%, 74.7%, 0%, 70.6%)
CIE-LABlab(12.53, 25.71, -30.21)
CIE-LCHlch(12.53, 39.67, 310.40°)
OKLaboklab(25.72% 0.0476 -0.0861)
OKLCHoklch(25.72% 0.098 298.9)
XYZxyz(2.4988, 1.4873, 6.8107)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B134B #334B13
analogous
#13174B #2B134B #47134B
triadic
#2B134B #4B2B13 #134B2B
tetradic
#2B134B #4B1317 #334B13 #134B47
square
#2B134B #4B1317 #334B13 #134B47
split-complementary
#2B134B #4B4713 #174B13
monochromatic
#0E0618 #0F071A #2B134B #471F7C #632CAD

Accessibility & contrast

On white

16.19
#2B134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B134B
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B134B#FFFFFF#000000##FFFFFF
##2B134B1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b134b;
/* rgb */ color: rgb(43, 19, 75);
/* oklch */ color: oklch(25.7% 0.098 298.9);
Tailwind
colors: {
  custom: {
    50: '#68527e',
    500: '#2b134b',
    950: '#000000',
  },
}
SCSS
$custom: #2b134b;
$custom-light: #68527e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b134b",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 265.714,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2572,
    "c": 0.0984,
    "h": 298.9
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#2B134B
secondary
#628436
accent
#E3459F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B134B

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

Preview Lab → · Contrast checker → · Palette generator →

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