#150F58#150F58

#150F58 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.2% C 0.123 H 275.6°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#150F58
RGBrgb(21, 15, 88)
HSLhsl(245, 71%, 20%)
HSVhsv(245, 83%, 35%)
CMYKcmyk(76.1%, 83%, 0%, 65.5%)
CIE-LABlab(10.60, 28.73, -42.36)
CIE-LCHlch(10.60, 51.19, 304.15°)
OKLaboklab(24.18% 0.0121 -0.1225)
OKLCHoklch(24.18% 0.123 275.6)
XYZxyz(2.2410, 1.2054, 9.3452)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F58 #52580F
analogous
#0F2D58 #150F58 #3A0F58
triadic
#150F58 #58150F #0F5815
tetradic
#150F58 #580F2D #52580F #0F583A
square
#150F58 #580F2D #52580F #0F583A
split-complementary
#150F58 #583A0F #2D580F
monochromatic
#06041A #090624 #150F58 #21188C #2E21C1

Accessibility & contrast

On white

16.92
#150F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#150F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F58
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F58#FFFFFF#000000##FFFFFF
##150F581.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001957
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #150f58;
/* rgb */ color: rgb(21, 15, 88);
/* oklch */ color: oklch(24.2% 0.123 275.6);
Tailwind
colors: {
  custom: {
    50: '#5f4f88',
    500: '#150f58',
    950: '#000000',
  },
}
SCSS
$custom: #150f58;
$custom-light: #5f4f88;
$custom-dark: #000000;
JSON
{
  "hex": "#150f58",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 244.932,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24182,
    "c": 0.12307,
    "h": 275.6
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#150F58
secondary
#8A9231
accent
#EE3ADF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #150F58

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

Preview Lab → · Contrast checker → · Palette generator →

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