#2D144B#2D144B

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

Color values

HEX#2D144B
RGBrgb(45, 20, 75)
HSLhsl(267, 58%, 19%)
HSVhsv(267, 73%, 29%)
CMYKcmyk(40%, 73.3%, 0%, 70.6%)
CIE-LABlab(13.02, 25.59, -29.39)
CIE-LCHlch(13.02, 38.97, 311.05°)
OKLaboklab(26.14% 0.0496 -0.0836)
OKLCHoklch(26.14% 0.097 300.7)
XYZxyz(2.6020, 1.5662, 6.8205)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D144B #324B14
analogous
#14164B #2D144B #48144B
triadic
#2D144B #4B2D14 #144B2D
tetradic
#2D144B #4B1416 #324B14 #144B48
square
#2D144B #4B1416 #324B14 #144B48
split-complementary
#2D144B #4B4814 #164B14
monochromatic
#0E0618 #10071B #2D144B #4A217B #672EAC

Accessibility & contrast

On white

15.99
#2D144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D144B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D144B#FFFFFF#000000##FFFFFF
##2D144B1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#00214A
Tritanopia (blue-blind)
#26212D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2d144b;
/* rgb */ color: rgb(45, 20, 75);
/* oklch */ color: oklch(26.1% 0.097 300.7);
Tailwind
colors: {
  custom: {
    50: '#69537e',
    500: '#2d144b',
    950: '#000000',
  },
}
SCSS
$custom: #2d144b;
$custom-light: #69537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d144b",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 267.273,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26138,
    "c": 0.09724,
    "h": 300.7
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#2D144B
secondary
#618338
accent
#E1479B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2D144B

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

Preview Lab → · Contrast checker → · Palette generator →

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