#150F4C#150F4C

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

Color values

HEX#150F4C
RGBrgb(21, 15, 76)
HSLhsl(246, 67%, 18%)
HSVhsv(246, 80%, 30%)
CMYKcmyk(72.4%, 80.3%, 0%, 70.2%)
CIE-LABlab(9.18, 24.35, -36.48)
CIE-LCHlch(9.18, 43.86, 303.73°)
OKLaboklab(22.76% 0.0151 -0.1053)
OKLCHoklch(22.76% 0.106 278.2)
XYZxyz(1.7842, 1.0227, 6.9395)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F4C #464C0F
analogous
#0F274C #150F4C #330F4C
triadic
#150F4C #4C150F #0F4C15
tetradic
#150F4C #4C0F27 #464C0F #0F4C33
square
#150F4C #4C0F27 #464C0F #0F4C33
split-complementary
#150F4C #4C330F #274C0F
monochromatic
#07051A #07051A #150F4C #23197F #3123B2

Accessibility & contrast

On white

17.43
#150F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F4C
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F4C#FFFFFF#000000##FFFFFF
##150F4C1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150f4c;
/* rgb */ color: rgb(21, 15, 76);
/* oklch */ color: oklch(22.8% 0.106 278.2);
Tailwind
colors: {
  custom: {
    50: '#5c4e7f',
    500: '#150f4c',
    950: '#000000',
  },
}
SCSS
$custom: #150f4c;
$custom-light: #5c4e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#150f4c",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 245.902,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22758,
    "c": 0.1064,
    "h": 278.2
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#150F4C
secondary
#7E8631
accent
#EA3ED9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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