#182168#182168

#182168 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.123 H 270.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#182168
RGBrgb(24, 33, 104)
HSLhsl(233, 63%, 25%)
HSVhsv(233, 77%, 41%)
CMYKcmyk(76.9%, 68.3%, 0%, 59.2%)
CIE-LABlab(16.90, 23.24, -42.65)
CIE-LCHlch(16.90, 48.57, 298.59°)
OKLaboklab(29.29% 0.0019 -0.1233)
OKLCHoklch(29.29% 0.123 270.9)
XYZxyz(3.4184, 2.2810, 13.3541)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182168 #685F18
analogous
#184968 #182168 #371868
triadic
#182168 #681821 #216818
tetradic
#182168 #681849 #685F18 #186837
square
#182168 #681849 #685F18 #186837
split-complementary
#182168 #683718 #496818
monochromatic
#060819 #0D1136 #182168 #23319A #2F41CB

Accessibility & contrast

On white

14.42
#182168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#182168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182168
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182168#FFFFFF#000000##FFFFFF
##1821681.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182168;
/* rgb */ color: rgb(24, 33, 104);
/* oklch */ color: oklch(29.3% 0.123 270.9);
Tailwind
colors: {
  custom: {
    50: '#625c94',
    500: '#182168',
    950: '#000000',
  },
}
SCSS
$custom: #182168;
$custom-light: #625c94;
$custom-dark: #000000;
JSON
{
  "hex": "#182168",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 233.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2929,
    "c": 0.12327,
    "h": 270.9
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#182168
secondary
#9E933E
accent
#D342E6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #182168

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

Preview Lab → · Contrast checker → · Palette generator →

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