#181061#181061

#181061 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.7% C 0.133 H 275.9°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#181061
RGBrgb(24, 16, 97)
HSLhsl(246, 72%, 22%)
HSVhsv(246, 84%, 38%)
CMYKcmyk(75.3%, 83.5%, 0%, 62%)
CIE-LABlab(12.14, 31.62, -45.85)
CIE-LCHlch(12.14, 55.70, 304.59°)
OKLaboklab(25.65% 0.0136 -0.1326)
OKLCHoklch(25.65% 0.133 275.9)
XYZxyz(2.7189, 1.4276, 11.4392)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181061 #596110
analogous
#103161 #181061 #411061
triadic
#181061 #611810 #106118
tetradic
#181061 #611031 #596110 #106141
square
#181061 #611031 #596110 #106141
split-complementary
#181061 #614110 #316110
monochromatic
#06041A #0B072C #181061 #251996 #3221CA

Accessibility & contrast

On white

16.33
#181061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181061 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181061
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181061#FFFFFF#000000##FFFFFF
##1810611.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002363
Deuteranopia (green-blind)
#001C60
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181061;
/* rgb */ color: rgb(24, 16, 97);
/* oklch */ color: oklch(25.7% 0.133 275.9);
Tailwind
colors: {
  custom: {
    50: '#62508f',
    500: '#181061',
    950: '#000000',
  },
}
SCSS
$custom: #181061;
$custom-light: #62508f;
$custom-dark: #000000;
JSON
{
  "hex": "#181061",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 97
  },
  "hsl": {
    "h": 245.926,
    "s": 71.681,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2565,
    "c": 0.13325,
    "h": 275.9
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#181061
secondary
#909A33
accent
#EE39DD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #181061

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

Preview Lab → · Contrast checker → · Palette generator →

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