#181673#181673

#181673 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.151 H 272.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#181673
RGBrgb(24, 22, 115)
HSLhsl(241, 68%, 27%)
HSVhsv(241, 81%, 45%)
CMYKcmyk(79.1%, 80.9%, 0%, 54.9%)
CIE-LABlab(15.52, 34.48, -52.09)
CIE-LCHlch(15.52, 62.47, 303.50°)
OKLaboklab(28.66% 0.0064 -0.1507)
OKLCHoklch(28.66% 0.151 272.4)
XYZxyz(3.7571, 2.0054, 16.4054)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181673 #717316
analogous
#164373 #181673 #471673
triadic
#181673 #731816 #167318
tetradic
#181673 #731643 #717316 #167347
square
#181673 #731643 #717316 #167347
split-complementary
#181673 #734716 #437316
monochromatic
#05051A #0D0C40 #181673 #2320A6 #302DD7

Accessibility & contrast

On white

14.99
#181673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#181673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181673
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181673#FFFFFF#000000##FFFFFF
##1816731.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181673;
/* rgb */ color: rgb(24, 22, 115);
/* oklch */ color: oklch(28.7% 0.151 272.4);
Tailwind
colors: {
  custom: {
    50: '#67559c',
    500: '#181673',
    950: '#000000',
  },
}
SCSS
$custom: #181673;
$custom-light: #67559c;
$custom-dark: #000000;
JSON
{
  "hex": "#181673",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 241.29,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28657,
    "c": 0.15088,
    "h": 272.4
  },
  "luminance": 0.02006
}

Semantic roles & 50–950 ramp

primary
#181673
secondary
#A6A93C
accent
#EB3DE7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181673

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

Preview Lab → · Contrast checker → · Palette generator →

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