#150F70#150F70

#150F70 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.154 H 272.1°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#150F70
RGBrgb(21, 15, 112)
HSLhsl(244, 76%, 25%)
HSVhsv(244, 87%, 44%)
CMYKcmyk(81.2%, 86.6%, 0%, 56.1%)
CIE-LABlab(13.65, 36.99, -53.23)
CIE-LCHlch(13.65, 64.82, 304.79°)
OKLaboklab(27.2% 0.0056 -0.154)
OKLCHoklch(27.2% 0.154 272.1)
XYZxyz(3.4037, 1.6706, 15.4692)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F70 #6A700F
analogous
#0F3A70 #150F70 #450F70
triadic
#150F70 #70150F #0F7015
tetradic
#150F70 #700F3A #6A700F #0F7045
square
#150F70 #700F3A #6A700F #0F7045
split-complementary
#150F70 #70450F #3A700F
monochromatic
#05041B #0B083A #150F70 #1F16A6 #291DDC

Accessibility & contrast

On white

15.74
#150F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#150F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F70
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F70#FFFFFF#000000##FFFFFF
##150F701.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002773
Deuteranopia (green-blind)
#001E6E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #150f70;
/* rgb */ color: rgb(21, 15, 112);
/* oklch */ color: oklch(27.2% 0.154 272.1);
Tailwind
colors: {
  custom: {
    50: '#66519a',
    500: '#150f70',
    950: '#000000',
  },
}
SCSS
$custom: #150f70;
$custom-light: #66519a;
$custom-dark: #000000;
JSON
{
  "hex": "#150f70",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 243.711,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27198,
    "c": 0.15412,
    "h": 272.1
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#150F70
secondary
#A1A833
accent
#F335E7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #150F70

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

Preview Lab → · Contrast checker → · Palette generator →

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