#18133A#18133A

#18133A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.073 H 284.5°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#18133A
RGBrgb(24, 19, 58)
HSLhsl(248, 51%, 15%)
HSVhsv(248, 67%, 23%)
CMYKcmyk(58.6%, 67.2%, 0%, 77.3%)
CIE-LABlab(8.70, 15.31, -24.54)
CIE-LCHlch(8.70, 28.92, 301.96°)
OKLaboklab(21.92% 0.0182 -0.0702)
OKLCHoklch(21.92% 0.073 284.5)
XYZxyz(1.3731, 0.9654, 4.1161)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18133A #353A13
analogous
#13223A #18133A #2B133A
triadic
#18133A #3A1813 #133A18
tetradic
#18133A #3A1322 #353A13 #133A2B
square
#18133A #3A1322 #353A13 #133A2B
split-complementary
#18133A #3A2B13 #223A13
monochromatic
#0A0817 #0A0817 #18133A #2B2268 #3E3196

Accessibility & contrast

On white

17.60
#18133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#18133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18133A
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18133A#FFFFFF#000000##FFFFFF
##18133A1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#0B1C24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #18133a;
/* rgb */ color: rgb(24, 19, 58);
/* oklch */ color: oklch(21.9% 0.073 284.5);
Tailwind
colors: {
  custom: {
    50: '#585070',
    500: '#18133a',
    950: '#000000',
  },
}
SCSS
$custom: #18133a;
$custom-light: #585070;
$custom-dark: #000000;
JSON
{
  "hex": "#18133a",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 247.692,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21924,
    "c": 0.07252,
    "h": 284.5
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#18133A
secondary
#6B7236
accent
#DA4EC8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #18133A

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

Preview Lab → · Contrast checker → · Palette generator →

#18133A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva