#18143E#18143E

#18143E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.077 H 282.5°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#18143E
RGBrgb(24, 20, 62)
HSLhsl(246, 51%, 16%)
HSVhsv(246, 68%, 24%)
CMYKcmyk(61.3%, 67.7%, 0%, 75.7%)
CIE-LABlab(9.34, 16.09, -26.37)
CIE-LCHlch(9.34, 30.89, 301.40°)
OKLaboklab(22.51% 0.0168 -0.0756)
OKLCHoklch(22.51% 0.077 282.5)
XYZxyz(1.4961, 1.0422, 4.6788)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18143E #3A3E14
analogous
#14253E #18143E #2D143E
triadic
#18143E #3E1814 #143E18
tetradic
#18143E #3E1425 #3A3E14 #143E2D
square
#18143E #3E1425 #3A3E14 #143E2D
split-complementary
#18143E #3E2D14 #253E14
monochromatic
#090717 #090717 #18143E #2A236C #3C329B

Accessibility & contrast

On white

17.38
#18143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18143E
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18143E#FFFFFF#000000##FFFFFF
##18143E1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#081E26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #18143e;
/* rgb */ color: rgb(24, 20, 62);
/* oklch */ color: oklch(22.5% 0.077 282.5);
Tailwind
colors: {
  custom: {
    50: '#595174',
    500: '#18143e',
    950: '#000000',
  },
}
SCSS
$custom: #18143e;
$custom-light: #595174;
$custom-dark: #000000;
JSON
{
  "hex": "#18143e",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 245.714,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22507,
    "c": 0.07741,
    "h": 282.5
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#18143E
secondary
#707638
accent
#DB4DCD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18143E

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

Preview Lab → · Contrast checker → · Palette generator →

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