#181670#181670

#181670 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.147 H 272.7°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#181670
RGBrgb(24, 22, 112)
HSLhsl(241, 67%, 26%)
HSVhsv(241, 80%, 44%)
CMYKcmyk(78.6%, 80.4%, 0%, 56.1%)
CIE-LABlab(15.16, 33.42, -50.74)
CIE-LCHlch(15.16, 60.76, 303.38°)
OKLaboklab(28.3% 0.0071 -0.1468)
OKLCHoklch(28.3% 0.147 272.7)
XYZxyz(3.5872, 1.9375, 15.5110)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181670 #6E7016
analogous
#164170 #181670 #451670
triadic
#181670 #701816 #167018
tetradic
#181670 #701641 #6E7016 #167045
square
#181670 #701641 #6E7016 #167045
split-complementary
#181670 #704516 #417016
monochromatic
#05051A #0D0C3D #181670 #2320A3 #2F2BD5

Accessibility & contrast

On white

15.13
#181670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#181670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181670
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181670#FFFFFF#000000##FFFFFF
##1816701.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181670;
/* rgb */ color: rgb(24, 22, 112);
/* oklch */ color: oklch(28.3% 0.147 272.7);
Tailwind
colors: {
  custom: {
    50: '#66559a',
    500: '#181670',
    950: '#000000',
  },
}
SCSS
$custom: #181670;
$custom-light: #66559a;
$custom-dark: #000000;
JSON
{
  "hex": "#181670",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 241.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28298,
    "c": 0.147,
    "h": 272.7
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#181670
secondary
#A4A63C
accent
#EA3EE6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181670

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

Preview Lab → · Contrast checker → · Palette generator →

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