#181672#181672

#181672 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.150 H 272.5°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#181672
RGBrgb(24, 22, 114)
HSLhsl(241, 68%, 27%)
HSVhsv(241, 81%, 45%)
CMYKcmyk(78.9%, 80.7%, 0%, 55.3%)
CIE-LABlab(15.40, 34.13, -51.64)
CIE-LCHlch(15.40, 61.90, 303.46°)
OKLaboklab(28.54% 0.0066 -0.1494)
OKLCHoklch(28.54% 0.15 272.5)
XYZxyz(3.6998, 1.9825, 16.1040)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181672 #707216
analogous
#164272 #181672 #461672
triadic
#181672 #721816 #167218
tetradic
#181672 #721642 #707216 #167246
square
#181672 #721642 #707216 #167246
split-complementary
#181672 #724616 #427216
monochromatic
#05051A #0D0C3F #181672 #2320A5 #302CD6

Accessibility & contrast

On white

15.04
#181672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181672
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181672#FFFFFF#000000##FFFFFF
##1816721.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181672;
/* rgb */ color: rgb(24, 22, 114);
/* oklch */ color: oklch(28.5% 0.150 272.5);
Tailwind
colors: {
  custom: {
    50: '#66559c',
    500: '#181672',
    950: '#000000',
  },
}
SCSS
$custom: #181672;
$custom-light: #66559c;
$custom-dark: #000000;
JSON
{
  "hex": "#181672",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 241.304,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28537,
    "c": 0.1496,
    "h": 272.5
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181672

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

Preview Lab → · Contrast checker → · Palette generator →

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