#150A4D#150A4D

#150A4D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.1% C 0.113 H 279.2°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#150A4D
RGBrgb(21, 10, 77)
HSLhsl(250, 77%, 17%)
HSVhsv(250, 87%, 30%)
CMYKcmyk(72.7%, 87%, 0%, 69.8%)
CIE-LABlab(8.24, 27.73, -38.72)
CIE-LCHlch(8.24, 47.63, 305.61°)
OKLaboklab(22.13% 0.0182 -0.1118)
OKLCHoklch(22.13% 0.113 279.2)
XYZxyz(1.7569, 0.9122, 7.1032)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A4D #424D0A
analogous
#0A214D #150A4D #370A4D
triadic
#150A4D #4D150A #0A4D15
tetradic
#150A4D #4D0A21 #424D0A #0A4D37
square
#150A4D #4D0A21 #424D0A #0A4D37
split-complementary
#150A4D #4D370A #214D0A
monochromatic
#07041B #07041B #150A4D #241183 #3318B9

Accessibility & contrast

On white

17.76
#150A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#150A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A4D
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A4D#FFFFFF#000000##FFFFFF
##150A4D1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4F
Deuteranopia (green-blind)
#00154C
Tritanopia (blue-blind)
#001E2C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150a4d;
/* rgb */ color: rgb(21, 10, 77);
/* oklch */ color: oklch(22.1% 0.113 279.2);
Tailwind
colors: {
  custom: {
    50: '#5c4b80',
    500: '#150a4d',
    950: '#000000',
  },
}
SCSS
$custom: #150a4d;
$custom-light: #5c4b80;
$custom-dark: #000000;
JSON
{
  "hex": "#150a4d",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 77
  },
  "hsl": {
    "h": 249.851,
    "s": 77.011,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22131,
    "c": 0.11329,
    "h": 279.2
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#150A4D
secondary
#7A8A29
accent
#F434D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #150A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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