#150F3C#150F3C

#150F3C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.083 H 282.7°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#150F3C
RGBrgb(21, 15, 60)
HSLhsl(248, 60%, 15%)
HSVhsv(248, 75%, 24%)
CMYKcmyk(65%, 75%, 0%, 76.5%)
CIE-LABlab(7.47, 18.26, -27.98)
CIE-LCHlch(7.47, 33.41, 303.13°)
OKLaboklab(21% 0.0182 -0.0805)
OKLCHoklch(21% 0.083 282.7)
XYZxyz(1.2954, 0.8272, 4.3655)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F3C #363C0F
analogous
#0F203C #150F3C #2C0F3C
triadic
#150F3C #3C150F #0F3C15
tetradic
#150F3C #3C0F20 #363C0F #0F3C2C
square
#150F3C #3C0F20 #363C0F #0F3C2C
split-complementary
#150F3C #3C2C0F #203C0F
monochromatic
#090618 #090618 #150F3C #261B6D #37279E

Accessibility & contrast

On white

18.02
#150F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F3C
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F3C#FFFFFF#000000##FFFFFF
##150F3C1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#031A23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150f3c;
/* rgb */ color: rgb(21, 15, 60);
/* oklch */ color: oklch(21.0% 0.083 282.7);
Tailwind
colors: {
  custom: {
    50: '#574d72',
    500: '#150f3c',
    950: '#000000',
  },
}
SCSS
$custom: #150f3c;
$custom-light: #574d72;
$custom-dark: #000000;
JSON
{
  "hex": "#150f3c",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 248,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21,
    "c": 0.08253,
    "h": 282.7
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#150F3C
secondary
#6D7630
accent
#E345CE
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #150F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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