#18113F#18113F

#18113F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.084 H 284.1°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#18113F
RGBrgb(24, 17, 63)
HSLhsl(249, 58%, 16%)
HSVhsv(249, 73%, 25%)
CMYKcmyk(61.9%, 73%, 0%, 75.3%)
CIE-LABlab(8.60, 18.65, -28.28)
CIE-LCHlch(8.60, 33.87, 303.41°)
OKLaboklab(22% 0.0204 -0.0812)
OKLCHoklch(22% 0.084 284.1)
XYZxyz(1.4741, 0.9539, 4.8081)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18113F #383F11
analogous
#11213F #18113F #2F113F
triadic
#18113F #3F1811 #113F18
tetradic
#18113F #3F1121 #383F11 #113F2F
square
#18113F #3F1121 #383F11 #113F2F
split-complementary
#18113F #3F2F11 #213F11
monochromatic
#090718 #090718 #18113F #2A1E6F #3D2B9F

Accessibility & contrast

On white

17.64
#18113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#18113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18113F
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18113F#FFFFFF#000000##FFFFFF
##18113F1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#071C26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #18113f;
/* rgb */ color: rgb(24, 17, 63);
/* oklch */ color: oklch(22.0% 0.084 284.1);
Tailwind
colors: {
  custom: {
    50: '#5a4f74',
    500: '#18113f',
    950: '#000000',
  },
}
SCSS
$custom: #18113f;
$custom-light: #5a4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#18113f",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 249.13,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21996,
    "c": 0.08371,
    "h": 284.1
  },
  "luminance": 0.00954
}

Semantic roles & 50–950 ramp

primary
#18113F
secondary
#6E7833
accent
#E147C9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18113F

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

Preview Lab → · Contrast checker → · Palette generator →

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