#151165#151165

#151165 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.138 H 273.2°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#151165
RGBrgb(21, 17, 101)
HSLhsl(243, 71%, 23%)
HSVhsv(243, 83%, 40%)
CMYKcmyk(79.2%, 83.2%, 0%, 60.4%)
CIE-LABlab(12.61, 32.18, -47.75)
CIE-LCHlch(12.61, 57.58, 303.98°)
OKLaboklab(26.06% 0.0078 -0.1382)
OKLCHoklch(26.06% 0.138 273.2)
XYZxyz(2.8579, 1.4996, 12.4482)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151165 #616511
analogous
#113765 #151165 #3F1165
triadic
#151165 #651511 #116515
tetradic
#151165 #651137 #616511 #11653F
square
#151165 #651137 #616511 #11653F
split-complementary
#151165 #653F11 #376511
monochromatic
#05041A #0A0831 #151165 #201A99 #2B23CE

Accessibility & contrast

On white

16.15
#151165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#151165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151165
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151165#FFFFFF#000000##FFFFFF
##1511651.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001D64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151165;
/* rgb */ color: rgb(21, 17, 101);
/* oklch */ color: oklch(26.1% 0.138 273.2);
Tailwind
colors: {
  custom: {
    50: '#625192',
    500: '#151165',
    950: '#000000',
  },
}
SCSS
$custom: #151165;
$custom-light: #625192;
$custom-dark: #000000;
JSON
{
  "hex": "#151165",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 242.857,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26061,
    "c": 0.13838,
    "h": 273.2
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#151165
secondary
#989D35
accent
#EE3AE5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #151165

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

Preview Lab → · Contrast checker → · Palette generator →

#151165 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva