#18143F#18143F

#18143F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.079 H 282.2°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#18143F
RGBrgb(24, 20, 63)
HSLhsl(246, 52%, 16%)
HSVhsv(246, 68%, 25%)
CMYKcmyk(61.9%, 68.3%, 0%, 75.3%)
CIE-LABlab(9.43, 16.47, -26.93)
CIE-LCHlch(9.43, 31.57, 301.45°)
OKLaboklab(22.6% 0.0168 -0.0772)
OKLCHoklch(22.6% 0.079 282.2)
XYZxyz(1.5238, 1.0533, 4.8247)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18143F #3B3F14
analogous
#14263F #18143F #2E143F
triadic
#18143F #3F1814 #143F18
tetradic
#18143F #3F1426 #3B3F14 #143F2E
square
#18143F #3F1426 #3B3F14 #143F2E
split-complementary
#18143F #3F2E14 #263F14
monochromatic
#090717 #090717 #18143F #2A236D #3B319C

Accessibility & contrast

On white

17.35
#18143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#18143F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18143F
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18143F#FFFFFF#000000##FFFFFF
##18143F1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#071E27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #18143f;
/* rgb */ color: rgb(24, 20, 63);
/* oklch */ color: oklch(22.6% 0.079 282.2);
Tailwind
colors: {
  custom: {
    50: '#595174',
    500: '#18143f',
    950: '#000000',
  },
}
SCSS
$custom: #18143f;
$custom-light: #595174;
$custom-dark: #000000;
JSON
{
  "hex": "#18143f",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 245.581,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22601,
    "c": 0.07903,
    "h": 282.2
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#18143F
secondary
#717738
accent
#DB4DCE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18143F

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

Preview Lab → · Contrast checker → · Palette generator →

#18143F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva