#18366B#18366B

#18366B is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.099 H 260.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#18366B
RGBrgb(24, 54, 107)
HSLhsl(218, 63%, 26%)
HSVhsv(218, 78%, 42%)
CMYKcmyk(77.6%, 49.5%, 0%, 58%)
CIE-LABlab(23.32, 9.36, -34.18)
CIE-LCHlch(23.32, 35.44, 285.32°)
OKLaboklab(34.2% -0.0158 -0.098)
OKLCHoklch(34.2% 0.099 260.8)
XYZxyz(4.3487, 3.8936, 14.4294)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18366B #6B4D18
analogous
#185F6B #18366B #23186B
triadic
#18366B #6B1836 #366B18
tetradic
#18366B #6B185F #6B4D18 #186B23
square
#18366B #6B185F #6B4D18 #186B23
split-complementary
#18366B #6B2318 #5F6B18
monochromatic
#060D19 #0D1D39 #18366B #234F9D #2E68CF

Accessibility & contrast

On white

11.81
#18366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#18366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18366B
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18366B#FFFFFF#000000##FFFFFF
##18366B1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#05346A
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #18366b;
/* rgb */ color: rgb(24, 54, 107);
/* oklch */ color: oklch(34.2% 0.099 260.8);
Tailwind
colors: {
  custom: {
    50: '#626c96',
    500: '#18366b',
    950: '#000000',
  },
}
SCSS
$custom: #18366b;
$custom-light: #626c96;
$custom-dark: #000000;
JSON
{
  "hex": "#18366b",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 218.313,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34196,
    "c": 0.09931,
    "h": 260.8
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#18366B
secondary
#A17D3E
accent
#AB41E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18366B

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

Preview Lab → · Contrast checker → · Palette generator →

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