#181867#181867

#181867 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.133 H 273.4°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#181867
RGBrgb(24, 24, 103)
HSLhsl(240, 62%, 25%)
HSVhsv(240, 77%, 40%)
CMYKcmyk(76.7%, 76.7%, 0%, 59.6%)
CIE-LABlab(14.55, 28.94, -45.85)
CIE-LCHlch(14.55, 54.22, 302.26°)
OKLaboklab(27.56% 0.0079 -0.1326)
OKLCHoklch(27.56% 0.133 273.4)
XYZxyz(3.1507, 1.8264, 13.0158)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181867 #676718
analogous
#184067 #181867 #401867
triadic
#181867 #671818 #186718
tetradic
#181867 #671840 #676718 #186740
square
#181867 #671840 #676718 #186740
split-complementary
#181867 #674018 #406718
monochromatic
#060619 #0C0C35 #181867 #242499 #2F2FCA

Accessibility & contrast

On white

15.38
#181867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#181867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181867
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181867#FFFFFF#000000##FFFFFF
##1818671.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181867;
/* rgb */ color: rgb(24, 24, 103);
/* oklch */ color: oklch(27.6% 0.133 273.4);
Tailwind
colors: {
  custom: {
    50: '#635693',
    500: '#181867',
    950: '#000000',
  },
}
SCSS
$custom: #181867;
$custom-light: #635693;
$custom-dark: #000000;
JSON
{
  "hex": "#181867",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 240,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27559,
    "c": 0.13287,
    "h": 273.4
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#181867
secondary
#9D9D3E
accent
#E543E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181867

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

Preview Lab → · Contrast checker → · Palette generator →

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