#150F3F#150F3F

#150F3F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.087 H 281.7°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#150F3F
RGBrgb(21, 15, 63)
HSLhsl(248, 62%, 15%)
HSVhsv(248, 76%, 25%)
CMYKcmyk(66.7%, 76.2%, 0%, 75.3%)
CIE-LABlab(7.77, 19.44, -29.65)
CIE-LCHlch(7.77, 35.46, 303.26°)
OKLaboklab(21.31% 0.0177 -0.0854)
OKLCHoklch(21.31% 0.087 281.7)
XYZxyz(1.3770, 0.8599, 4.7951)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F3F #393F0F
analogous
#0F213F #150F3F #2D0F3F
triadic
#150F3F #3F150F #0F3F15
tetradic
#150F3F #3F0F21 #393F0F #0F3F2D
square
#150F3F #3F0F21 #393F0F #0F3F2D
split-complementary
#150F3F #3F2D0F #213F0F
monochromatic
#080619 #080619 #150F3F #251B70 #3627A2

Accessibility & contrast

On white

17.92
#150F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#150F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F3F
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F3F#FFFFFF#000000##FFFFFF
##150F3F1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#011B25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150f3f;
/* rgb */ color: rgb(21, 15, 63);
/* oklch */ color: oklch(21.3% 0.087 281.7);
Tailwind
colors: {
  custom: {
    50: '#584d75',
    500: '#150f3f',
    950: '#000000',
  },
}
SCSS
$custom: #150f3f;
$custom-light: #584d75;
$custom-dark: #000000;
JSON
{
  "hex": "#150f3f",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 247.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21314,
    "c": 0.08718,
    "h": 281.7
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#150F3F
secondary
#707930
accent
#E543D0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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