#150A4E#150A4E

#150A4E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.3% C 0.115 H 278.9°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#150A4E
RGBrgb(21, 10, 78)
HSLhsl(250, 77%, 17%)
HSVhsv(250, 87%, 31%)
CMYKcmyk(73.1%, 87.2%, 0%, 69.4%)
CIE-LABlab(8.36, 28.08, -39.21)
CIE-LCHlch(8.36, 48.23, 305.61°)
OKLaboklab(22.26% 0.0178 -0.1132)
OKLCHoklch(22.26% 0.115 278.9)
XYZxyz(1.7925, 0.9264, 7.2906)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A4E #434E0A
analogous
#0A214E #150A4E #370A4E
triadic
#150A4E #4E150A #0A4E15
tetradic
#150A4E #4E0A21 #434E0A #0A4E37
square
#150A4E #4E0A21 #434E0A #0A4E37
split-complementary
#150A4E #4E370A #214E0A
monochromatic
#07031B #07031B #150A4E #241184 #3218BA

Accessibility & contrast

On white

17.72
#150A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#150A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A4E
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A4E#FFFFFF#000000##FFFFFF
##150A4E1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B50
Deuteranopia (green-blind)
#00154D
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150a4e;
/* rgb */ color: rgb(21, 10, 78);
/* oklch */ color: oklch(22.3% 0.115 278.9);
Tailwind
colors: {
  custom: {
    50: '#5d4b80',
    500: '#150a4e',
    950: '#000000',
  },
}
SCSS
$custom: #150a4e;
$custom-light: #5d4b80;
$custom-dark: #000000;
JSON
{
  "hex": "#150a4e",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 78
  },
  "hsl": {
    "h": 249.706,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22256,
    "c": 0.11464,
    "h": 278.9
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#150A4E
secondary
#7B8B29
accent
#F434D5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #150A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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