#181045#181045

#181045 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.094 H 282.6°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#181045
RGBrgb(24, 16, 69)
HSLhsl(249, 62%, 17%)
HSVhsv(249, 77%, 27%)
CMYKcmyk(65.2%, 76.8%, 0%, 72.9%)
CIE-LABlab(8.94, 21.58, -31.96)
CIE-LCHlch(8.94, 38.56, 304.02°)
OKLaboklab(22.43% 0.0205 -0.092)
OKLCHoklch(22.43% 0.094 282.6)
XYZxyz(1.6358, 0.9943, 5.7348)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181045 #3D4510
analogous
#102345 #181045 #331045
triadic
#181045 #451810 #104518
tetradic
#181045 #451023 #3D4510 #104533
square
#181045 #451023 #3D4510 #104533
split-complementary
#181045 #453310 #234510
monochromatic
#090619 #090619 #181045 #291C77 #3B27A8

Accessibility & contrast

On white

17.52
#181045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#181045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181045
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181045#FFFFFF#000000##FFFFFF
##1810451.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001844
Tritanopia (blue-blind)
#011E29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #181045;
/* rgb */ color: rgb(24, 16, 69);
/* oklch */ color: oklch(22.4% 0.094 282.6);
Tailwind
colors: {
  custom: {
    50: '#5b4f79',
    500: '#181045',
    950: '#000000',
  },
}
SCSS
$custom: #181045;
$custom-light: #5b4f79;
$custom-dark: #000000;
JSON
{
  "hex": "#181045",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 249.057,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2243,
    "c": 0.09428,
    "h": 282.6
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#181045
secondary
#737F32
accent
#E542CD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181045

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

Preview Lab → · Contrast checker → · Palette generator →

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