#181674#181674

#181674 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.152 H 272.3°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#181674
RGBrgb(24, 22, 116)
HSLhsl(241, 68%, 27%)
HSVhsv(241, 81%, 45%)
CMYKcmyk(79.3%, 81%, 0%, 54.5%)
CIE-LABlab(15.64, 34.83, -52.53)
CIE-LCHlch(15.64, 63.03, 303.54°)
OKLaboklab(28.78% 0.0062 -0.152)
OKLCHoklch(28.78% 0.152 272.3)
XYZxyz(3.8149, 2.0286, 16.7101)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181674 #727416
analogous
#164374 #181674 #471674
triadic
#181674 #741816 #167418
tetradic
#181674 #741643 #727416 #167447
square
#181674 #741643 #727416 #167447
split-complementary
#181674 #744716 #437416
monochromatic
#05051A #0D0C41 #181674 #2320A7 #312DD7

Accessibility & contrast

On white

14.94
#181674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#181674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181674
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181674#FFFFFF#000000##FFFFFF
##1816741.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181674;
/* rgb */ color: rgb(24, 22, 116);
/* oklch */ color: oklch(28.8% 0.152 272.3);
Tailwind
colors: {
  custom: {
    50: '#67559d',
    500: '#181674',
    950: '#000000',
  },
}
SCSS
$custom: #181674;
$custom-light: #67559d;
$custom-dark: #000000;
JSON
{
  "hex": "#181674",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 241.277,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28777,
    "c": 0.15217,
    "h": 272.3
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181674

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

Preview Lab → · Contrast checker → · Palette generator →

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