#150F4F#150F4F

#150F4F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.111 H 277.5°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#150F4F
RGBrgb(21, 15, 79)
HSLhsl(246, 68%, 18%)
HSVhsv(246, 81%, 31%)
CMYKcmyk(73.4%, 81%, 0%, 69%)
CIE-LABlab(9.52, 25.46, -37.98)
CIE-LCHlch(9.52, 45.73, 303.84°)
OKLaboklab(23.11% 0.0144 -0.1097)
OKLCHoklch(23.11% 0.111 277.5)
XYZxyz(1.8909, 1.0654, 7.5016)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F4F #494F0F
analogous
#0F294F #150F4F #350F4F
triadic
#150F4F #4F150F #0F4F15
tetradic
#150F4F #4F0F29 #494F0F #0F4F35
square
#150F4F #4F0F29 #494F0F #0F4F35
split-complementary
#150F4F #4F350F #294F0F
monochromatic
#07051A #07051C #150F4F #231982 #3023B6

Accessibility & contrast

On white

17.31
#150F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#150F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F4F
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F4F#FFFFFF#000000##FFFFFF
##150F4F1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00184E
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #150f4f;
/* rgb */ color: rgb(21, 15, 79);
/* oklch */ color: oklch(23.1% 0.111 277.5);
Tailwind
colors: {
  custom: {
    50: '#5c4e81',
    500: '#150f4f',
    950: '#000000',
  },
}
SCSS
$custom: #150f4f;
$custom-light: #5c4e81;
$custom-dark: #000000;
JSON
{
  "hex": "#150f4f",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 245.625,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23107,
    "c": 0.11066,
    "h": 277.5
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#150F4F
secondary
#818931
accent
#EB3DDB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #150F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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