#150F6A#150F6A

#150F6A is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.4% C 0.147 H 272.8°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#150F6A
RGBrgb(21, 15, 106)
HSLhsl(244, 75%, 24%)
HSVhsv(244, 86%, 42%)
CMYKcmyk(80.2%, 85.8%, 0%, 58.4%)
CIE-LABlab(12.87, 34.98, -50.61)
CIE-LCHlch(12.87, 61.53, 304.65°)
OKLaboklab(26.43% 0.0072 -0.1464)
OKLCHoklch(26.43% 0.147 272.8)
XYZxyz(3.0807, 1.5414, 13.7680)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F6A #646A0F
analogous
#0F366A #150F6A #420F6A
triadic
#150F6A #6A150F #0F6A15
tetradic
#150F6A #6A0F36 #646A0F #0F6A42
square
#150F6A #6A0F36 #646A0F #0F6A42
split-complementary
#150F6A #6A420F #366A0F
monochromatic
#05041B #0A0734 #150F6A #2017A0 #2A1ED5

Accessibility & contrast

On white

16.05
#150F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#150F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F6A
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F6A#FFFFFF#000000##FFFFFF
##150F6A1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256C
Deuteranopia (green-blind)
#001D68
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #150f6a;
/* rgb */ color: rgb(21, 15, 106);
/* oklch */ color: oklch(26.4% 0.147 272.8);
Tailwind
colors: {
  custom: {
    50: '#645096',
    500: '#150f6a',
    950: '#000000',
  },
}
SCSS
$custom: #150f6a;
$custom-light: #645096;
$custom-dark: #000000;
JSON
{
  "hex": "#150f6a",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 243.956,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26429,
    "c": 0.1466,
    "h": 272.8
  },
  "luminance": 0.01542
}

Semantic roles & 50–950 ramp

primary
#150F6A
secondary
#9BA232
accent
#F236E5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #150F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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