#18366A#18366A

#18366A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.1% C 0.098 H 260.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#18366A
RGBrgb(24, 54, 106)
HSLhsl(218, 63%, 25%)
HSVhsv(218, 77%, 42%)
CMYKcmyk(77.4%, 49.1%, 0%, 58.4%)
CIE-LABlab(23.25, 8.95, -33.65)
CIE-LCHlch(23.25, 34.82, 284.89°)
OKLaboklab(34.12% -0.016 -0.0965)
OKLCHoklch(34.12% 0.098 260.6)
XYZxyz(4.2964, 3.8727, 14.1539)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18366A #6A4C18
analogous
#185F6A #18366A #23186A
triadic
#18366A #6A1836 #366A18
tetradic
#18366A #6A185F #6A4C18 #186A23
square
#18366A #6A185F #6A4C18 #186A23
split-complementary
#18366A #6A2318 #5F6A18
monochromatic
#060D19 #0D1D38 #18366A #234F9C #2F69CE

Accessibility & contrast

On white

11.83
#18366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#18366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18366A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18366A#FFFFFF#000000##FFFFFF
##18366A1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6C
Deuteranopia (green-blind)
#073469
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #18366a;
/* rgb */ color: rgb(24, 54, 106);
/* oklch */ color: oklch(34.1% 0.098 260.6);
Tailwind
colors: {
  custom: {
    50: '#616c95',
    500: '#18366a',
    950: '#000000',
  },
}
SCSS
$custom: #18366a;
$custom-light: #616c95;
$custom-dark: #000000;
JSON
{
  "hex": "#18366a",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 218.049,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34119,
    "c": 0.0978,
    "h": 260.6
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#18366A
secondary
#A07C3E
accent
#AA42E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18366A

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

Preview Lab → · Contrast checker → · Palette generator →

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