#18366F#18366F

#18366F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.105 H 261.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#18366F
RGBrgb(24, 54, 111)
HSLhsl(219, 64%, 26%)
HSVhsv(219, 78%, 44%)
CMYKcmyk(78.4%, 51.4%, 0%, 56.5%)
CIE-LABlab(23.60, 11.03, -36.29)
CIE-LCHlch(23.60, 37.93, 286.91°)
OKLaboklab(34.51% -0.0152 -0.1042)
OKLCHoklch(34.51% 0.105 261.7)
XYZxyz(4.5641, 3.9797, 15.5635)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18366F #6F5118
analogous
#18626F #18366F #26186F
triadic
#18366F #6F1836 #366F18
tetradic
#18366F #6F1862 #6F5118 #186F26
square
#18366F #6F1862 #6F5118 #186F26
split-complementary
#18366F #6F2618 #626F18
monochromatic
#050C19 #0D1E3D #18366F #234EA1 #2F67D2

Accessibility & contrast

On white

11.69
#18366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#18366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18366F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18366F#FFFFFF#000000##FFFFFF
##18366F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18366f;
/* rgb */ color: rgb(24, 54, 111);
/* oklch */ color: oklch(34.5% 0.105 261.7);
Tailwind
colors: {
  custom: {
    50: '#636c99',
    500: '#18366f',
    950: '#000000',
  },
}
SCSS
$custom: #18366f;
$custom-light: #636c99;
$custom-dark: #000000;
JSON
{
  "hex": "#18366f",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 219.31,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34509,
    "c": 0.10535,
    "h": 261.7
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#18366F
secondary
#A5813E
accent
#AE40E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #18366F

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

Preview Lab → · Contrast checker → · Palette generator →

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