#182166#182166

#182166 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.120 H 271.0°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#182166
RGBrgb(24, 33, 102)
HSLhsl(233, 62%, 25%)
HSVhsv(233, 76%, 40%)
CMYKcmyk(76.5%, 67.6%, 0%, 60%)
CIE-LABlab(16.70, 22.45, -41.65)
CIE-LCHlch(16.70, 47.32, 298.32°)
OKLaboklab(29.09% 0.002 -0.1203)
OKLCHoklch(29.09% 0.12 271)
XYZxyz(3.3180, 2.2409, 12.8255)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182166 #665D18
analogous
#184866 #182166 #361866
triadic
#182166 #661821 #216618
tetradic
#182166 #661848 #665D18 #186636
square
#182166 #661848 #665D18 #186636
split-complementary
#182166 #663618 #486618
monochromatic
#060819 #0C1134 #182166 #243198 #2F41C9

Accessibility & contrast

On white

14.50
#182166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#182166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182166
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182166#FFFFFF#000000##FFFFFF
##1821661.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182166;
/* rgb */ color: rgb(24, 33, 102);
/* oklch */ color: oklch(29.1% 0.120 271.0);
Tailwind
colors: {
  custom: {
    50: '#625c92',
    500: '#182166',
    950: '#000000',
  },
}
SCSS
$custom: #182166;
$custom-light: #625c92;
$custom-dark: #000000;
JSON
{
  "hex": "#182166",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 233.077,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29088,
    "c": 0.12037,
    "h": 271
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#182166
secondary
#9C913E
accent
#D243E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182166

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

Preview Lab → · Contrast checker → · Palette generator →

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