#150D3F#150D3F

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

Color values

HEX#150D3F
RGBrgb(21, 13, 63)
HSLhsl(250, 66%, 15%)
HSVhsv(250, 79%, 25%)
CMYKcmyk(66.7%, 79.4%, 0%, 75.3%)
CIE-LABlab(7.28, 20.74, -30.44)
CIE-LCHlch(7.28, 36.84, 304.27°)
OKLaboklab(20.95% 0.0197 -0.0878)
OKLCHoklch(20.95% 0.09 282.7)
XYZxyz(1.3501, 0.8061, 4.7861)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D3F #373F0D
analogous
#0D1E3F #150D3F #2E0D3F
triadic
#150D3F #3F150D #0D3F15
tetradic
#150D3F #3F0D1E #373F0D #0D3F2E
square
#150D3F #3F0D1E #373F0D #0D3F2E
split-complementary
#150D3F #3F2E0D #1E3F0D
monochromatic
#080519 #080519 #150D3F #261772 #3722A4

Accessibility & contrast

On white

18.08
#150D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D3F
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D3F#FFFFFF#000000##FFFFFF
##150D3F1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#011A24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150d3f;
/* rgb */ color: rgb(21, 13, 63);
/* oklch */ color: oklch(20.9% 0.090 282.7);
Tailwind
colors: {
  custom: {
    50: '#584c75',
    500: '#150d3f',
    950: '#000000',
  },
}
SCSS
$custom: #150d3f;
$custom-light: #584c75;
$custom-dark: #000000;
JSON
{
  "hex": "#150d3f",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 249.6,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2095,
    "c": 0.08997,
    "h": 282.7
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#150D3F
secondary
#6E7B2D
accent
#E93FCE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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