#2B136F#2B136F

#2B136F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.145 H 285.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#2B136F
RGBrgb(43, 19, 111)
HSLhsl(256, 71%, 25%)
HSVhsv(256, 83%, 44%)
CMYKcmyk(61.3%, 82.9%, 0%, 56.5%)
CIE-LABlab(16.14, 36.79, -48.41)
CIE-LCHlch(16.14, 60.80, 307.23°)
OKLaboklab(29.37% 0.0379 -0.1395)
OKLCHoklch(29.37% 0.145 285.2)
XYZxyz(4.0975, 2.1268, 15.2304)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B136F #576F13
analogous
#13296F #2B136F #59136F
triadic
#2B136F #6F2B13 #136F2B
tetradic
#2B136F #6F1329 #576F13 #136F59
square
#2B136F #6F1329 #576F13 #136F59
split-complementary
#2B136F #6F5913 #296F13
monochromatic
#0A041A #170A3B #2B136F #3F1CA3 #5325D8

Accessibility & contrast

On white

14.73
#2B136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2B136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B136F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B136F#FFFFFF#000000##FFFFFF
##2B136F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#052E41
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b136f;
/* rgb */ color: rgb(43, 19, 111);
/* oklch */ color: oklch(29.4% 0.145 285.2);
Tailwind
colors: {
  custom: {
    50: '#6e5599',
    500: '#2b136f',
    950: '#000000',
  },
}
SCSS
$custom: #2b136f;
$custom-light: #6e5599;
$custom-dark: #000000;
JSON
{
  "hex": "#2b136f",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 255.652,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2937,
    "c": 0.14453,
    "h": 285.2
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#2B136F
secondary
#89A638
accent
#EE3ABF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2B136F

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

Preview Lab → · Contrast checker → · Palette generator →

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