#150F62#150F62

#150F62 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.136 H 273.9°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#150F62
RGBrgb(21, 15, 98)
HSLhsl(244, 73%, 22%)
HSVhsv(244, 85%, 38%)
CMYKcmyk(78.6%, 84.7%, 0%, 61.6%)
CIE-LABlab(11.84, 32.25, -47.02)
CIE-LCHlch(11.84, 57.02, 304.45°)
OKLaboklab(25.42% 0.0094 -0.136)
OKLCHoklch(25.42% 0.136 273.9)
XYZxyz(2.6840, 1.3826, 11.6783)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F62 #5C620F
analogous
#0F3362 #150F62 #3E0F62
triadic
#150F62 #62150F #0F6215
tetradic
#150F62 #620F33 #5C620F #0F623E
square
#150F62 #620F33 #5C620F #0F623E
split-complementary
#150F62 #623E0F #33620F
monochromatic
#06041B #0A072D #150F62 #201797 #2C1FCC

Accessibility & contrast

On white

16.45
#150F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#150F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F62
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F62#FFFFFF#000000##FFFFFF
##150F621.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002364
Deuteranopia (green-blind)
#001B61
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #150f62;
/* rgb */ color: rgb(21, 15, 98);
/* oklch */ color: oklch(25.4% 0.136 273.9);
Tailwind
colors: {
  custom: {
    50: '#625090',
    500: '#150f62',
    950: '#000000',
  },
}
SCSS
$custom: #150f62;
$custom-light: #625090;
$custom-dark: #000000;
JSON
{
  "hex": "#150f62",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 244.337,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25418,
    "c": 0.13634,
    "h": 273.9
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#150F62
secondary
#939B32
accent
#F038E3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #150F62

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

Preview Lab → · Contrast checker → · Palette generator →

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