#150E39#150E39

#150E39 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.079 H 284.4°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#150E39
RGBrgb(21, 14, 57)
HSLhsl(250, 61%, 14%)
HSVhsv(250, 75%, 22%)
CMYKcmyk(63.2%, 75.4%, 0%, 77.6%)
CIE-LABlab(6.94, 17.68, -26.68)
CIE-LCHlch(6.94, 32.00, 303.53°)
OKLaboklab(20.5% 0.0197 -0.0769)
OKLCHoklch(20.5% 0.079 284.4)
XYZxyz(1.2046, 0.7688, 3.9550)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E39 #32390E
analogous
#0E1D39 #150E39 #2B0E39
triadic
#150E39 #39150E #0E3915
tetradic
#150E39 #390E1D #32390E #0E392B
square
#150E39 #390E1D #32390E #0E392B
split-complementary
#150E39 #392B0E #1D390E
monochromatic
#090619 #090619 #150E39 #271A6A #39269B

Accessibility & contrast

On white

18.20
#150E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#150E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150E39
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E39#FFFFFF#000000##FFFFFF
##150E391.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#061921
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150e39;
/* rgb */ color: rgb(21, 14, 57);
/* oklch */ color: oklch(20.5% 0.079 284.4);
Tailwind
colors: {
  custom: {
    50: '#574d70',
    500: '#150e39',
    950: '#000000',
  },
}
SCSS
$custom: #150e39;
$custom-light: #574d70;
$custom-dark: #000000;
JSON
{
  "hex": "#150e39",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 57
  },
  "hsl": {
    "h": 249.767,
    "s": 60.563,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20497,
    "c": 0.07936,
    "h": 284.4
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#150E39
secondary
#69742F
accent
#E444CA
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150E39

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

Preview Lab → · Contrast checker → · Palette generator →

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