#181460#181460

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

Color values

HEX#181460
RGBrgb(24, 20, 96)
HSLhsl(243, 66%, 23%)
HSVhsv(243, 79%, 38%)
CMYKcmyk(75%, 79.2%, 0%, 62.4%)
CIE-LABlab(12.85, 28.90, -44.01)
CIE-LCHlch(12.85, 52.65, 303.29°)
OKLaboklab(26.12% 0.0117 -0.1272)
OKLCHoklch(26.12% 0.128 275.2)
XYZxyz(2.7375, 1.5388, 11.2168)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181460 #5C6014
analogous
#143660 #181460 #3E1460
triadic
#181460 #601814 #146018
tetradic
#181460 #601436 #5C6014 #14603E
square
#181460 #601436 #5C6014 #14603E
split-complementary
#181460 #603E14 #366014
monochromatic
#060519 #0B092D #181460 #251F93 #3129C5

Accessibility & contrast

On white

16.06
#181460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181460
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181460#FFFFFF#000000##FFFFFF
##1814601.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181460;
/* rgb */ color: rgb(24, 20, 96);
/* oklch */ color: oklch(26.1% 0.128 275.2);
Tailwind
colors: {
  custom: {
    50: '#62538e',
    500: '#181460',
    950: '#000000',
  },
}
SCSS
$custom: #181460;
$custom-light: #62538e;
$custom-dark: #000000;
JSON
{
  "hex": "#181460",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 243.158,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26116,
    "c": 0.12777,
    "h": 275.2
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181460

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

Preview Lab → · Contrast checker → · Palette generator →

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