#150F45#150F45

#150F45 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.096 H 279.9°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#150F45
RGBrgb(21, 15, 69)
HSLhsl(247, 64%, 16%)
HSVhsv(247, 78%, 27%)
CMYKcmyk(69.6%, 78.3%, 0%, 72.9%)
CIE-LABlab(8.40, 21.73, -32.87)
CIE-LCHlch(8.40, 39.40, 303.47°)
OKLaboklab(21.97% 0.0166 -0.0948)
OKLCHoklch(21.97% 0.096 279.9)
XYZxyz(1.5539, 0.9306, 5.7268)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F45 #3F450F
analogous
#0F2445 #150F45 #300F45
triadic
#150F45 #45150F #0F4515
tetradic
#150F45 #450F24 #3F450F #0F4530
square
#150F45 #450F24 #3F450F #0F4530
split-complementary
#150F45 #45300F #24450F
monochromatic
#080519 #080519 #150F45 #241A77 #3425AA

Accessibility & contrast

On white

17.70
#150F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F45
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F45#FFFFFF#000000##FFFFFF
##150F451.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001644
Tritanopia (blue-blind)
#001E28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150f45;
/* rgb */ color: rgb(21, 15, 69);
/* oklch */ color: oklch(22.0% 0.096 279.9);
Tailwind
colors: {
  custom: {
    50: '#5a4e79',
    500: '#150f45',
    950: '#000000',
  },
}
SCSS
$custom: #150f45;
$custom-light: #5a4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#150f45",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 246.667,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21965,
    "c": 0.09622,
    "h": 279.9
  },
  "luminance": 0.00931
}

Semantic roles & 50–950 ramp

primary
#150F45
secondary
#777F30
accent
#E741D5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150F45

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

Preview Lab → · Contrast checker → · Palette generator →

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