#150F46#150F46

#150F46 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.1% C 0.098 H 279.7°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#150F46
RGBrgb(21, 15, 70)
HSLhsl(247, 65%, 17%)
HSVhsv(247, 79%, 27%)
CMYKcmyk(70%, 78.6%, 0%, 72.5%)
CIE-LABlab(8.51, 22.11, -33.39)
CIE-LCHlch(8.51, 40.04, 303.51°)
OKLaboklab(22.08% 0.0164 -0.0963)
OKLCHoklch(22.08% 0.098 279.7)
XYZxyz(1.5852, 0.9432, 5.8917)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F46 #40460F
analogous
#0F2546 #150F46 #310F46
triadic
#150F46 #46150F #0F4615
tetradic
#150F46 #460F25 #40460F #0F4631
square
#150F46 #460F25 #40460F #0F4631
split-complementary
#150F46 #46310F #25460F
monochromatic
#080519 #080519 #150F46 #241A78 #3325AB

Accessibility & contrast

On white

17.67
#150F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#150F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F46
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F46#FFFFFF#000000##FFFFFF
##150F461.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150f46;
/* rgb */ color: rgb(21, 15, 70);
/* oklch */ color: oklch(22.1% 0.098 279.7);
Tailwind
colors: {
  custom: {
    50: '#5a4e7a',
    500: '#150f46',
    950: '#000000',
  },
}
SCSS
$custom: #150f46;
$custom-light: #5a4e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#150f46",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 246.545,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22077,
    "c": 0.09769,
    "h": 279.7
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#150F46
secondary
#788030
accent
#E840D5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150F46

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

Preview Lab → · Contrast checker → · Palette generator →

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