#150A3E#150A3E

#150A3E is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.092 H 284.3°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#150A3E
RGBrgb(21, 10, 62)
HSLhsl(253, 72%, 14%)
HSVhsv(253, 84%, 24%)
CMYKcmyk(66.1%, 83.9%, 0%, 75.7%)
CIE-LABlab(6.54, 22.01, -30.94)
CIE-LCHlch(6.54, 37.97, 305.43°)
OKLaboklab(20.34% 0.0228 -0.0896)
OKLCHoklch(20.34% 0.092 284.3)
XYZxyz(1.2870, 0.7242, 4.6285)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A3E #333E0A
analogous
#0A193E #150A3E #2F0A3E
triadic
#150A3E #3E150A #0A3E15
tetradic
#150A3E #3E0A19 #333E0A #0A3E2F
square
#150A3E #3E0A19 #333E0A #0A3E2F
split-complementary
#150A3E #3E2F0A #193E0A
monochromatic
#09041A #09041A #150A3E #271373 #391BA7

Accessibility & contrast

On white

18.34
#150A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#150A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A3E
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A3E#FFFFFF#000000##FFFFFF
##150A3E1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00133D
Tritanopia (blue-blind)
#021823
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150a3e;
/* rgb */ color: rgb(21, 10, 62);
/* oklch */ color: oklch(20.3% 0.092 284.3);
Tailwind
colors: {
  custom: {
    50: '#584a74',
    500: '#150a3e',
    950: '#000000',
  },
}
SCSS
$custom: #150a3e;
$custom-light: #584a74;
$custom-dark: #000000;
JSON
{
  "hex": "#150a3e",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 252.692,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20337,
    "c": 0.09245,
    "h": 284.3
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#150A3E
secondary
#6A7B28
accent
#EF39C8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150A3E

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

Preview Lab → · Contrast checker → · Palette generator →

#150A3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva