#181967#181967

#181967 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.132 H 273.2°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#181967
RGBrgb(24, 25, 103)
HSLhsl(239, 62%, 25%)
HSVhsv(239, 77%, 40%)
CMYKcmyk(76.7%, 75.7%, 0%, 59.6%)
CIE-LABlab(14.78, 28.30, -45.47)
CIE-LCHlch(14.78, 53.56, 301.90°)
OKLaboklab(27.73% 0.0073 -0.1315)
OKLCHoklch(27.73% 0.132 273.2)
XYZxyz(3.1717, 1.8684, 13.0228)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181967 #676618
analogous
#184067 #181967 #3F1867
triadic
#181967 #671819 #196718
tetradic
#181967 #671840 #676618 #18673F
square
#181967 #671840 #676618 #18673F
split-complementary
#181967 #673F18 #406718
monochromatic
#060619 #0C0D35 #181967 #242599 #2F31CA

Accessibility & contrast

On white

15.29
#181967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181967
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181967#FFFFFF#000000##FFFFFF
##1819671.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181967;
/* rgb */ color: rgb(24, 25, 103);
/* oklch */ color: oklch(27.7% 0.132 273.2);
Tailwind
colors: {
  custom: {
    50: '#635693',
    500: '#181967',
    950: '#000000',
  },
}
SCSS
$custom: #181967;
$custom-light: #635693;
$custom-dark: #000000;
JSON
{
  "hex": "#181967",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 239.241,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27725,
    "c": 0.13173,
    "h": 273.2
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#181967
secondary
#9D9C3E
accent
#E343E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181967

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

Preview Lab → · Contrast checker → · Palette generator →

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