#181766#181766

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

Color values

HEX#181766
RGBrgb(24, 23, 102)
HSLhsl(241, 63%, 25%)
HSVhsv(241, 77%, 40%)
CMYKcmyk(76.5%, 77.5%, 0%, 60%)
CIE-LABlab(14.21, 29.21, -45.75)
CIE-LCHlch(14.21, 54.28, 302.55°)
OKLaboklab(27.28% 0.0087 -0.1323)
OKLCHoklch(27.28% 0.133 273.7)
XYZxyz(3.0806, 1.7660, 12.7463)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181766 #656617
analogous
#173E66 #181766 #3F1766
triadic
#181766 #661817 #176618
tetradic
#181766 #66173E #656617 #17663F
square
#181766 #66173E #656617 #17663F
split-complementary
#181766 #663F17 #3E6617
monochromatic
#060619 #0C0C34 #181766 #242298 #2F2ECA

Accessibility & contrast

On white

15.52
#181766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#181766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181766
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181766#FFFFFF#000000##FFFFFF
##1817661.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181766;
/* rgb */ color: rgb(24, 23, 102);
/* oklch */ color: oklch(27.3% 0.133 273.7);
Tailwind
colors: {
  custom: {
    50: '#635593',
    500: '#181766',
    950: '#000000',
  },
}
SCSS
$custom: #181766;
$custom-light: #635593;
$custom-dark: #000000;
JSON
{
  "hex": "#181766",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 240.759,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27283,
    "c": 0.13263,
    "h": 273.7
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#181766
secondary
#9B9C3C
accent
#E642E4
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181766

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

Preview Lab → · Contrast checker → · Palette generator →

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