#181461#181461

#181461 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.129 H 275.1°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#181461
RGBrgb(24, 20, 97)
HSLhsl(243, 66%, 23%)
HSVhsv(243, 79%, 38%)
CMYKcmyk(75.3%, 79.4%, 0%, 62%)
CIE-LABlab(12.97, 29.26, -44.49)
CIE-LCHlch(12.97, 53.25, 303.34°)
OKLaboklab(26.23% 0.0114 -0.1286)
OKLCHoklch(26.23% 0.129 275.1)
XYZxyz(2.7838, 1.5573, 11.4608)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181461 #5D6114
analogous
#143661 #181461 #3E1461
triadic
#181461 #611814 #146118
tetradic
#181461 #611436 #5D6114 #14613E
square
#181461 #611436 #5D6114 #14613E
split-complementary
#181461 #613E14 #366114
monochromatic
#060519 #0B0A2E #181461 #251E94 #3129C6

Accessibility & contrast

On white

16.01
#181461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181461
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181461#FFFFFF#000000##FFFFFF
##1814611.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#001E60
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181461;
/* rgb */ color: rgb(24, 20, 97);
/* oklch */ color: oklch(26.2% 0.129 275.1);
Tailwind
colors: {
  custom: {
    50: '#62538f',
    500: '#181461',
    950: '#000000',
  },
}
SCSS
$custom: #181461;
$custom-light: #62538f;
$custom-dark: #000000;
JSON
{
  "hex": "#181461",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 243.117,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26232,
    "c": 0.12914,
    "h": 275.1
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#181461
secondary
#939838
accent
#E93FE0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #181461

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

Preview Lab → · Contrast checker → · Palette generator →

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