#150E4F#150E4F

#150E4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.112 H 277.7°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#150E4F
RGBrgb(21, 14, 79)
HSLhsl(246, 70%, 18%)
HSVhsv(246, 82%, 31%)
CMYKcmyk(73.4%, 82.3%, 0%, 69%)
CIE-LABlab(9.30, 26.09, -38.35)
CIE-LCHlch(9.30, 46.38, 304.23°)
OKLaboklab(22.95% 0.0151 -0.1108)
OKLCHoklch(22.95% 0.112 277.7)
XYZxyz(1.8771, 1.0379, 7.4970)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E4F #484F0E
analogous
#0E274F #150E4F #350E4F
triadic
#150E4F #4F150E #0E4F15
tetradic
#150E4F #4F0E27 #484F0E #0E4F35
square
#150E4F #4F0E27 #484F0E #0E4F35
split-complementary
#150E4F #4F350E #274F0E
monochromatic
#07051A #07051B #150E4F #231783 #3120B7

Accessibility & contrast

On white

17.39
#150E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E4F
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E4F#FFFFFF#000000##FFFFFF
##150E4F1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150e4f;
/* rgb */ color: rgb(21, 14, 79);
/* oklch */ color: oklch(22.9% 0.112 277.7);
Tailwind
colors: {
  custom: {
    50: '#5d4e81',
    500: '#150e4f',
    950: '#000000',
  },
}
SCSS
$custom: #150e4f;
$custom-light: #5d4e81;
$custom-dark: #000000;
JSON
{
  "hex": "#150e4f",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 246.462,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2295,
    "c": 0.1118,
    "h": 277.7
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#150E4F
secondary
#808A2F
accent
#ED3BDA
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #150E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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