#181259#181259

#181259 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.120 H 276.9°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#181259
RGBrgb(24, 18, 89)
HSLhsl(245, 66%, 21%)
HSVhsv(245, 80%, 35%)
CMYKcmyk(73%, 79.8%, 0%, 65.1%)
CIE-LABlab(11.61, 27.60, -41.37)
CIE-LCHlch(11.61, 49.73, 303.72°)
OKLaboklab(24.99% 0.0145 -0.1195)
OKLCHoklch(24.99% 0.12 276.9)
XYZxyz(2.3956, 1.3479, 9.5832)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181259 #535912
analogous
#122F59 #181259 #3B1259
triadic
#181259 #591812 #125918
tetradic
#181259 #59122F #535912 #12593B
square
#181259 #59122F #535912 #12593B
split-complementary
#181259 #593B12 #2F5912
monochromatic
#070519 #0A0826 #181259 #261C8C #3327BF

Accessibility & contrast

On white

16.54
#181259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#181259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181259
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181259#FFFFFF#000000##FFFFFF
##1812591.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225B
Deuteranopia (green-blind)
#001C58
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181259;
/* rgb */ color: rgb(24, 18, 89);
/* oklch */ color: oklch(25.0% 0.120 276.9);
Tailwind
colors: {
  custom: {
    50: '#605189',
    500: '#181259',
    950: '#000000',
  },
}
SCSS
$custom: #181259;
$custom-light: #605189;
$custom-dark: #000000;
JSON
{
  "hex": "#181259",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 245.07,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24992,
    "c": 0.1204,
    "h": 276.9
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#181259
secondary
#8A9235
accent
#E93FDB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #181259

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

Preview Lab → · Contrast checker → · Palette generator →

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