#181665#181665

#181665 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.132 H 274.1°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#181665
RGBrgb(24, 22, 101)
HSLhsl(242, 64%, 24%)
HSVhsv(242, 78%, 40%)
CMYKcmyk(76.2%, 78.2%, 0%, 60.4%)
CIE-LABlab(13.87, 29.47, -45.65)
CIE-LCHlch(13.87, 54.34, 302.85°)
OKLaboklab(27.01% 0.0094 -0.132)
OKLCHoklch(27.01% 0.132 274.1)
XYZxyz(3.0118, 1.7073, 12.4802)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181665 #636516
analogous
#163C65 #181665 #401665
triadic
#181665 #651816 #166518
tetradic
#181665 #65163C #636516 #166540
square
#181665 #65163C #636516 #166540
split-complementary
#181665 #654016 #3C6516
monochromatic
#060519 #0C0B33 #181665 #242197 #302CCA

Accessibility & contrast

On white

15.65
#181665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#181665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181665
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181665#FFFFFF#000000##FFFFFF
##1816651.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181665;
/* rgb */ color: rgb(24, 22, 101);
/* oklch */ color: oklch(27.0% 0.132 274.1);
Tailwind
colors: {
  custom: {
    50: '#635492',
    500: '#181665',
    950: '#000000',
  },
}
SCSS
$custom: #181665;
$custom-light: #635492;
$custom-dark: #000000;
JSON
{
  "hex": "#181665",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 241.519,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27008,
    "c": 0.13238,
    "h": 274.1
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#181665
secondary
#999C3B
accent
#E741E3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181665

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

Preview Lab → · Contrast checker → · Palette generator →

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