#150E4D#150E4D

#150E4D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.109 H 278.2°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#150E4D
RGBrgb(21, 14, 77)
HSLhsl(247, 69%, 18%)
HSVhsv(247, 82%, 30%)
CMYKcmyk(72.7%, 81.8%, 0%, 69.8%)
CIE-LABlab(9.07, 25.36, -37.35)
CIE-LCHlch(9.07, 45.15, 304.17°)
OKLaboklab(22.71% 0.0156 -0.1079)
OKLCHoklch(22.71% 0.109 278.2)
XYZxyz(1.8054, 1.0092, 7.1194)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E4D #464D0E
analogous
#0E264D #150E4D #340E4D
triadic
#150E4D #4D150E #0E4D15
tetradic
#150E4D #4D0E26 #464D0E #0E4D34
square
#150E4D #4D0E26 #464D0E #0E4D34
split-complementary
#150E4D #4D340E #264D0E
monochromatic
#07051A #07051A #150E4D #231781 #3121B5

Accessibility & contrast

On white

17.47
#150E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#150E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150E4D
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E4D#FFFFFF#000000##FFFFFF
##150E4D1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00174C
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #150e4d;
/* rgb */ color: rgb(21, 14, 77);
/* oklch */ color: oklch(22.7% 0.109 278.2);
Tailwind
colors: {
  custom: {
    50: '#5c4d80',
    500: '#150e4d',
    950: '#000000',
  },
}
SCSS
$custom: #150e4d;
$custom-light: #5c4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#150e4d",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 246.667,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22714,
    "c": 0.109,
    "h": 278.2
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#150E4D
secondary
#7E882F
accent
#EC3CD8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #150E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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