#150E63#150E63

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

Color values

HEX#150E63
RGBrgb(21, 14, 99)
HSLhsl(245, 75%, 22%)
HSVhsv(245, 86%, 39%)
CMYKcmyk(78.8%, 85.9%, 0%, 61.2%)
CIE-LABlab(11.78, 33.13, -47.78)
CIE-LCHlch(11.78, 58.15, 304.74°)
OKLaboklab(25.42% 0.0095 -0.1382)
OKLCHoklch(25.42% 0.139 273.9)
XYZxyz(2.7177, 1.3741, 11.9240)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E63 #5C630E
analogous
#0E3263 #150E63 #400E63
triadic
#150E63 #63150E #0E6315
tetradic
#150E63 #630E32 #5C630E #0E6340
square
#150E63 #630E32 #5C630E #0E6340
split-complementary
#150E63 #63400E #32630E
monochromatic
#06041B #0A062D #150E63 #201699 #2C1DCE

Accessibility & contrast

On white

16.47
#150E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#150E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150E63
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E63#FFFFFF#000000##FFFFFF
##150E631.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.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: #150e63;
/* rgb */ color: rgb(21, 14, 99);
/* oklch */ color: oklch(25.4% 0.139 273.9);
Tailwind
colors: {
  custom: {
    50: '#624f90',
    500: '#150e63',
    950: '#000000',
  },
}
SCSS
$custom: #150e63;
$custom-light: #624f90;
$custom-dark: #000000;
JSON
{
  "hex": "#150e63",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 99
  },
  "hsl": {
    "h": 244.941,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25415,
    "c": 0.13854,
    "h": 273.9
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#150E63
secondary
#939C30
accent
#F236E2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #150E63

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

Preview Lab → · Contrast checker → · Palette generator →

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