#181869#181869

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

Color values

HEX#181869
RGBrgb(24, 24, 105)
HSLhsl(240, 63%, 25%)
HSVhsv(240, 77%, 41%)
CMYKcmyk(77.1%, 77.1%, 0%, 58.8%)
CIE-LABlab(14.77, 29.68, -46.80)
CIE-LCHlch(14.77, 55.42, 302.39°)
OKLaboklab(27.79% 0.0075 -0.1354)
OKLCHoklch(27.79% 0.136 273.2)
XYZxyz(3.2523, 1.8670, 13.5508)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181869 #696918
analogous
#184069 #181869 #401869
triadic
#181869 #691818 #186918
tetradic
#181869 #691840 #696918 #186940
square
#181869 #691840 #696918 #186940
split-complementary
#181869 #694018 #406918
monochromatic
#060619 #0D0D37 #181869 #23239B #2F2FCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##181869#FFFFFF#000000##FFFFFF
##1818691.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)
#00296B
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181869;
/* rgb */ color: rgb(24, 24, 105);
/* oklch */ color: oklch(27.8% 0.136 273.2);
Tailwind
colors: {
  custom: {
    50: '#645695',
    500: '#181869',
    950: '#000000',
  },
}
SCSS
$custom: #181869;
$custom-light: #645695;
$custom-dark: #000000;
JSON
{
  "hex": "#181869",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 240,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27786,
    "c": 0.1356,
    "h": 273.2
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#181869
secondary
#9F9F3E
accent
#E642E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181869

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

Preview Lab → · Contrast checker → · Palette generator →

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