#2B134E#2B134E

#2B134E is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.102 H 297.4°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#2B134E
RGBrgb(43, 19, 78)
HSLhsl(264, 61%, 19%)
HSVhsv(264, 76%, 31%)
CMYKcmyk(44.9%, 75.6%, 0%, 69.4%)
CIE-LABlab(12.79, 26.62, -31.84)
CIE-LCHlch(12.79, 41.51, 309.90°)
OKLaboklab(25.99% 0.0471 -0.0909)
OKLCHoklch(25.99% 0.102 297.4)
XYZxyz(2.6039, 1.5293, 7.3643)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B134E #364E13
analogous
#13194E #2B134E #49134E
triadic
#2B134E #4E2B13 #134E2B
tetradic
#2B134E #4E1319 #364E13 #134E49
square
#2B134E #4E1319 #364E13 #134E49
split-complementary
#2B134E #4E4913 #194E13
monochromatic
#0E0619 #10071D #2B134E #461F7F #612BB0

Accessibility & contrast

On white

16.08
#2B134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B134E
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B134E#FFFFFF#000000##FFFFFF
##2B134E1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b134e;
/* rgb */ color: rgb(43, 19, 78);
/* oklch */ color: oklch(26.0% 0.102 297.4);
Tailwind
colors: {
  custom: {
    50: '#685380',
    500: '#2b134e',
    950: '#000000',
  },
}
SCSS
$custom: #2b134e;
$custom-light: #685380;
$custom-dark: #000000;
JSON
{
  "hex": "#2b134e",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 264.407,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25994,
    "c": 0.1024,
    "h": 297.4
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#2B134E
secondary
#668736
accent
#E444A3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B134E

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

Preview Lab → · Contrast checker → · Palette generator →

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