#150F4E#150F4E

#150F4E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.109 H 277.7°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#150F4E
RGBrgb(21, 15, 78)
HSLhsl(246, 68%, 18%)
HSVhsv(246, 81%, 31%)
CMYKcmyk(73.1%, 80.8%, 0%, 69.4%)
CIE-LABlab(9.41, 25.09, -37.48)
CIE-LCHlch(9.41, 45.11, 303.80°)
OKLaboklab(22.99% 0.0146 -0.1083)
OKLCHoklch(22.99% 0.109 277.7)
XYZxyz(1.8548, 1.0510, 7.3114)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F4E #484E0F
analogous
#0F284E #150F4E #340F4E
triadic
#150F4E #4E150F #0F4E15
tetradic
#150F4E #4E0F28 #484E0F #0F4E34
square
#150F4E #4E0F28 #484E0F #0F4E34
split-complementary
#150F4E #4E340F #284E0F
monochromatic
#07051A #07051B #150F4E #231981 #3123B5

Accessibility & contrast

On white

17.35
#150F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F4E
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F4E#FFFFFF#000000##FFFFFF
##150F4E1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #150f4e;
/* rgb */ color: rgb(21, 15, 78);
/* oklch */ color: oklch(23.0% 0.109 277.7);
Tailwind
colors: {
  custom: {
    50: '#5c4e80',
    500: '#150f4e',
    950: '#000000',
  },
}
SCSS
$custom: #150f4e;
$custom-light: #5c4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#150f4e",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 245.714,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2299,
    "c": 0.10924,
    "h": 277.7
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#150F4E
secondary
#808831
accent
#EB3DDA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #150F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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