#2B144E#2B144E

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

Color values

HEX#2B144E
RGBrgb(43, 20, 78)
HSLhsl(264, 59%, 19%)
HSVhsv(264, 74%, 31%)
CMYKcmyk(44.9%, 74.4%, 0%, 69.4%)
CIE-LABlab(13.01, 26.03, -31.49)
CIE-LCHlch(13.01, 40.85, 309.57°)
OKLaboklab(26.15% 0.0459 -0.0899)
OKLCHoklch(26.15% 0.101 297)
XYZxyz(2.6212, 1.5639, 7.3700)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B144E #374E14
analogous
#141A4E #2B144E #48144E
triadic
#2B144E #4E2B14 #144E2B
tetradic
#2B144E #4E141A #374E14 #144E48
square
#2B144E #4E141A #374E14 #144E48
split-complementary
#2B144E #4E4814 #1A4E14
monochromatic
#0D0618 #10081D #2B144E #46207F #612DAF

Accessibility & contrast

On white

16.00
#2B144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B144E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B144E#FFFFFF#000000##FFFFFF
##2B144E1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#22222F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2b144e;
/* rgb */ color: rgb(43, 20, 78);
/* oklch */ color: oklch(26.1% 0.101 297.0);
Tailwind
colors: {
  custom: {
    50: '#685380',
    500: '#2b144e',
    950: '#000000',
  },
}
SCSS
$custom: #2b144e;
$custom-light: #685380;
$custom-dark: #000000;
JSON
{
  "hex": "#2b144e",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 263.793,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26148,
    "c": 0.10094,
    "h": 297
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#2B144E
secondary
#678638
accent
#E245A4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B144E

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

Preview Lab → · Contrast checker → · Palette generator →

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