#181767#181767

#181767 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.134 H 273.6°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#181767
RGBrgb(24, 23, 103)
HSLhsl(241, 63%, 25%)
HSVhsv(241, 78%, 40%)
CMYKcmyk(76.7%, 77.7%, 0%, 59.6%)
CIE-LABlab(14.32, 29.58, -46.23)
CIE-LCHlch(14.32, 54.88, 302.61°)
OKLaboklab(27.4% 0.0084 -0.1337)
OKLCHoklch(27.4% 0.134 273.6)
XYZxyz(3.1304, 1.7859, 13.0091)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181767 #666717
analogous
#173E67 #181767 #401767
triadic
#181767 #671817 #176718
tetradic
#181767 #67173E #666717 #176740
square
#181767 #67173E #666717 #176740
split-complementary
#181767 #674017 #3E6717
monochromatic
#060619 #0C0C35 #181767 #242299 #2F2DCB

Accessibility & contrast

On white

15.47
#181767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#181767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181767
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181767#FFFFFF#000000##FFFFFF
##1817671.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181767;
/* rgb */ color: rgb(24, 23, 103);
/* oklch */ color: oklch(27.4% 0.134 273.6);
Tailwind
colors: {
  custom: {
    50: '#635593',
    500: '#181767',
    950: '#000000',
  },
}
SCSS
$custom: #181767;
$custom-light: #635593;
$custom-dark: #000000;
JSON
{
  "hex": "#181767",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 240.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27397,
    "c": 0.13399,
    "h": 273.6
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#181767
secondary
#9C9D3D
accent
#E741E4
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181767

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

Preview Lab → · Contrast checker → · Palette generator →

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