#150E42#150E42

#150E42 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.093 H 281.2°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#150E42
RGBrgb(21, 14, 66)
HSLhsl(248, 65%, 16%)
HSVhsv(248, 79%, 26%)
CMYKcmyk(68.2%, 78.8%, 0%, 74.1%)
CIE-LABlab(7.83, 21.28, -31.68)
CIE-LCHlch(7.83, 38.16, 303.88°)
OKLaboklab(21.46% 0.0182 -0.0913)
OKLCHoklch(21.46% 0.093 281.2)
XYZxyz(1.4494, 0.8668, 5.2441)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E42 #3B420E
analogous
#0E2142 #150E42 #2F0E42
triadic
#150E42 #42150E #0E4215
tetradic
#150E42 #420E21 #3B420E #0E422F
square
#150E42 #420E21 #3B420E #0E422F
split-complementary
#150E42 #422F0E #21420E
monochromatic
#080519 #080519 #150E42 #251974 #3523A7

Accessibility & contrast

On white

17.90
#150E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E42
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E42#FFFFFF#000000##FFFFFF
##150E421.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001541
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150e42;
/* rgb */ color: rgb(21, 14, 66);
/* oklch */ color: oklch(21.5% 0.093 281.2);
Tailwind
colors: {
  custom: {
    50: '#594d77',
    500: '#150e42',
    950: '#000000',
  },
}
SCSS
$custom: #150e42;
$custom-light: #594d77;
$custom-dark: #000000;
JSON
{
  "hex": "#150e42",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 248.077,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21457,
    "c": 0.0931,
    "h": 281.2
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#150E42
secondary
#727D2F
accent
#E840D1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150E42

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

Preview Lab → · Contrast checker → · Palette generator →

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