#181679#181679

#181679 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.159 H 271.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#181679
RGBrgb(24, 22, 121)
HSLhsl(241, 69%, 28%)
HSVhsv(241, 82%, 47%)
CMYKcmyk(80.2%, 81.8%, 0%, 52.5%)
CIE-LABlab(16.25, 36.56, -54.74)
CIE-LCHlch(16.25, 65.83, 303.74°)
OKLaboklab(29.38% 0.005 -0.1585)
OKLCHoklch(29.38% 0.159 271.8)
XYZxyz(4.1136, 2.1480, 18.2833)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181679 #777916
analogous
#164579 #181679 #491679
triadic
#181679 #791816 #167918
tetradic
#181679 #791645 #777916 #167949
square
#181679 #791645 #777916 #167949
split-complementary
#181679 #794916 #457916
monochromatic
#05051A #0E0D45 #181679 #221FAD #3330D9

Accessibility & contrast

On white

14.69
#181679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#181679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181679
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181679#FFFFFF#000000##FFFFFF
##1816791.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181679;
/* rgb */ color: rgb(24, 22, 121);
/* oklch */ color: oklch(29.4% 0.159 271.8);
Tailwind
colors: {
  custom: {
    50: '#6855a1',
    500: '#181679',
    950: '#000000',
  },
}
SCSS
$custom: #181679;
$custom-light: #6855a1;
$custom-dark: #000000;
JSON
{
  "hex": "#181679",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 241.212,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29382,
    "c": 0.15854,
    "h": 271.8
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#181679
secondary
#ACAE3D
accent
#EC3CE8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #181679

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

Preview Lab → · Contrast checker → · Palette generator →

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