#150E40#150E40

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

Color values

HEX#150E40
RGBrgb(21, 14, 64)
HSLhsl(248, 64%, 15%)
HSVhsv(248, 78%, 25%)
CMYKcmyk(67.2%, 78.1%, 0%, 74.9%)
CIE-LABlab(7.62, 20.50, -30.60)
CIE-LCHlch(7.62, 36.84, 303.82°)
OKLaboklab(21.24% 0.0186 -0.0882)
OKLCHoklch(21.24% 0.09 281.9)
XYZxyz(1.3914, 0.8436, 4.9390)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E40 #39400E
analogous
#0E2040 #150E40 #2E0E40
triadic
#150E40 #40150E #0E4015
tetradic
#150E40 #400E20 #39400E #0E402E
square
#150E40 #400E20 #39400E #0E402E
split-complementary
#150E40 #402E0E #20400E
monochromatic
#080519 #080519 #150E40 #251972 #3624A4

Accessibility & contrast

On white

17.97
#150E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E40
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E40#FFFFFF#000000##FFFFFF
##150E401.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150e40;
/* rgb */ color: rgb(21, 14, 64);
/* oklch */ color: oklch(21.2% 0.090 281.9);
Tailwind
colors: {
  custom: {
    50: '#594d75',
    500: '#150e40',
    950: '#000000',
  },
}
SCSS
$custom: #150e40;
$custom-light: #594d75;
$custom-dark: #000000;
JSON
{
  "hex": "#150e40",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 248.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21238,
    "c": 0.0901,
    "h": 281.9
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#150E40
secondary
#707B2F
accent
#E741D0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150E40

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

Preview Lab → · Contrast checker → · Palette generator →

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