#150F63#150F63

#150F63 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.138 H 273.8°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#150F63
RGBrgb(21, 15, 99)
HSLhsl(244, 74%, 22%)
HSVhsv(244, 85%, 39%)
CMYKcmyk(78.8%, 84.8%, 0%, 61.2%)
CIE-LABlab(11.97, 32.60, -47.48)
CIE-LCHlch(11.97, 57.59, 304.47°)
OKLaboklab(25.54% 0.0091 -0.1373)
OKLCHoklch(25.54% 0.138 273.8)
XYZxyz(2.7315, 1.4016, 11.9286)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F63 #5D630F
analogous
#0F3363 #150F63 #3F0F63
triadic
#150F63 #63150F #0F6315
tetradic
#150F63 #630F33 #5D630F #0F633F
square
#150F63 #630F33 #5D630F #0F633F
split-complementary
#150F63 #633F0F #33630F
monochromatic
#06041B #0A072E #150F63 #201798 #2C1FCD

Accessibility & contrast

On white

16.40
#150F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F63
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F63#FFFFFF#000000##FFFFFF
##150F631.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150f63;
/* rgb */ color: rgb(21, 15, 99);
/* oklch */ color: oklch(25.5% 0.138 273.8);
Tailwind
colors: {
  custom: {
    50: '#625090',
    500: '#150f63',
    950: '#000000',
  },
}
SCSS
$custom: #150f63;
$custom-light: #625090;
$custom-dark: #000000;
JSON
{
  "hex": "#150f63",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 244.286,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25543,
    "c": 0.13764,
    "h": 273.8
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#150F63
secondary
#949C32
accent
#F037E3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #150F63

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

Preview Lab → · Contrast checker → · Palette generator →

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