#150F38#150F38

#150F38 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.076 H 284.1°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#150F38
RGBrgb(21, 15, 56)
HSLhsl(249, 58%, 14%)
HSVhsv(249, 73%, 22%)
CMYKcmyk(62.5%, 73.2%, 0%, 78%)
CIE-LABlab(7.10, 16.63, -25.69)
CIE-LCHlch(7.10, 30.61, 302.92°)
OKLaboklab(20.59% 0.0186 -0.0739)
OKLCHoklch(20.59% 0.076 284.1)
XYZxyz(1.1937, 0.7865, 3.8295)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F38 #32380F
analogous
#0F1E38 #150F38 #2A0F38
triadic
#150F38 #38150F #0F3815
tetradic
#150F38 #380F1E #32380F #0F382A
square
#150F38 #380F1E #32380F #0F382A
split-complementary
#150F38 #382A0F #1E380F
monochromatic
#090618 #090618 #150F38 #271C68 #392999

Accessibility & contrast

On white

18.14
#150F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#150F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F38
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F38#FFFFFF#000000##FFFFFF
##150F381.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#071921
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150f38;
/* rgb */ color: rgb(21, 15, 56);
/* oklch */ color: oklch(20.6% 0.076 284.1);
Tailwind
colors: {
  custom: {
    50: '#574d6f',
    500: '#150f38',
    950: '#000000',
  },
}
SCSS
$custom: #150f38;
$custom-light: #574d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#150f38",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 248.78,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20593,
    "c": 0.07621,
    "h": 284.1
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#150F38
secondary
#697230
accent
#E147CA
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150F38

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

Preview Lab → · Contrast checker → · Palette generator →

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