#150F72#150F72

#150F72 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.157 H 271.8°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#150F72
RGBrgb(21, 15, 114)
HSLhsl(244, 77%, 25%)
HSVhsv(244, 87%, 45%)
CMYKcmyk(81.6%, 86.8%, 0%, 55.3%)
CIE-LABlab(13.92, 37.65, -54.09)
CIE-LCHlch(13.92, 65.91, 304.84°)
OKLaboklab(27.46% 0.005 -0.1565)
OKLCHoklch(27.46% 0.157 271.8)
XYZxyz(3.5163, 1.7156, 16.0621)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F72 #6C720F
analogous
#0F3B72 #150F72 #460F72
triadic
#150F72 #72150F #0F7215
tetradic
#150F72 #720F3B #6C720F #0F7246
square
#150F72 #720F3B #6C720F #0F7246
split-complementary
#150F72 #72460F #3B720F
monochromatic
#05041B #0B083C #150F72 #1F16A8 #291DDE

Accessibility & contrast

On white

15.63
#150F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#150F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F72
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F72#FFFFFF#000000##FFFFFF
##150F721.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002875
Deuteranopia (green-blind)
#001E70
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #150f72;
/* rgb */ color: rgb(21, 15, 114);
/* oklch */ color: oklch(27.5% 0.157 271.8);
Tailwind
colors: {
  custom: {
    50: '#66519c',
    500: '#150f72',
    950: '#000000',
  },
}
SCSS
$custom: #150f72;
$custom-light: #66519c;
$custom-dark: #000000;
JSON
{
  "hex": "#150f72",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 243.636,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27456,
    "c": 0.15659,
    "h": 271.8
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#150F72
secondary
#A3AA33
accent
#F335E8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #150F72

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

Preview Lab → · Contrast checker → · Palette generator →

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