#150F5F#150F5F

#150F5F is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.132 H 274.4°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#150F5F
RGBrgb(21, 15, 95)
HSLhsl(245, 73%, 22%)
HSVhsv(245, 84%, 37%)
CMYKcmyk(77.9%, 84.2%, 0%, 62.7%)
CIE-LABlab(11.46, 31.21, -45.65)
CIE-LCHlch(11.46, 55.30, 304.36°)
OKLaboklab(25.04% 0.0102 -0.132)
OKLCHoklch(25.04% 0.132 274.4)
XYZxyz(2.5450, 1.3270, 10.9463)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F5F #595F0F
analogous
#0F315F #150F5F #3D0F5F
triadic
#150F5F #5F150F #0F5F15
tetradic
#150F5F #5F0F31 #595F0F #0F5F3D
square
#150F5F #5F0F31 #595F0F #0F5F3D
split-complementary
#150F5F #5F3D0F #315F0F
monochromatic
#06041A #09072A #150F5F #211794 #2C20C9

Accessibility & contrast

On white

16.60
#150F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#150F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F5F
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F5F#FFFFFF#000000##FFFFFF
##150F5F1.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001B5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #150f5f;
/* rgb */ color: rgb(21, 15, 95);
/* oklch */ color: oklch(25.0% 0.132 274.4);
Tailwind
colors: {
  custom: {
    50: '#614f8d',
    500: '#150f5f',
    950: '#000000',
  },
}
SCSS
$custom: #150f5f;
$custom-light: #614f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#150f5f",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 244.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25043,
    "c": 0.13241,
    "h": 274.4
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#150F5F
secondary
#919832
accent
#EF38E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #150F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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