#181680#181680

#181680 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.167 H 271.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#181680
RGBrgb(24, 22, 128)
HSLhsl(241, 71%, 29%)
HSVhsv(241, 83%, 50%)
CMYKcmyk(81.3%, 82.8%, 0%, 49.8%)
CIE-LABlab(17.11, 38.94, -57.77)
CIE-LCHlch(17.11, 69.67, 303.98°)
OKLaboklab(30.24% 0.0034 -0.1672)
OKLCHoklch(30.24% 0.167 271.2)
XYZxyz(4.5586, 2.3260, 20.6266)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181680 #7E8016
analogous
#164980 #181680 #4D1680
triadic
#181680 #801816 #168018
tetradic
#181680 #801649 #7E8016 #16804D
square
#181680 #801649 #7E8016 #16804D
split-complementary
#181680 #804D16 #498016
monochromatic
#05041A #0E0D4C #181680 #221FB4 #3734DC

Accessibility & contrast

On white

14.33
#181680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#181680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181680
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181680#FFFFFF#000000##FFFFFF
##1816801.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #181680;
/* rgb */ color: rgb(24, 22, 128);
/* oklch */ color: oklch(30.2% 0.167 271.2);
Tailwind
colors: {
  custom: {
    50: '#6a56a6',
    500: '#181680',
    950: '#000000',
  },
}
SCSS
$custom: #181680;
$custom-light: #6a56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#181680",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 241.132,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30239,
    "c": 0.16727,
    "h": 271.2
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#181680
secondary
#B2B53D
accent
#ED3AEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #181680

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

Preview Lab → · Contrast checker → · Palette generator →

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