#18367B#18367B

#18367B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.5% C 0.123 H 263.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#18367B
RGBrgb(24, 54, 123)
HSLhsl(222, 67%, 29%)
HSVhsv(222, 80%, 48%)
CMYKcmyk(80.5%, 56.1%, 0%, 51.8%)
CIE-LABlab(24.52, 16.00, -42.45)
CIE-LCHlch(24.52, 45.36, 290.66°)
OKLaboklab(35.5% -0.0137 -0.1224)
OKLCHoklch(35.5% 0.123 263.6)
XYZxyz(5.2697, 4.2620, 19.2800)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18367B #7B5D18
analogous
#18687B #18367B #2C187B
triadic
#18367B #7B1836 #367B18
tetradic
#18367B #7B1868 #7B5D18 #187B2C
square
#18367B #7B1868 #7B5D18 #187B2C
split-complementary
#18367B #7B2C18 #687B18
monochromatic
#050B1A #0E2048 #18367B #224CAE #3667D8

Accessibility & contrast

On white

11.34
#18367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#18367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18367B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18367B#FFFFFF#000000##FFFFFF
##18367B1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18367b;
/* rgb */ color: rgb(24, 54, 123);
/* oklch */ color: oklch(35.5% 0.123 263.6);
Tailwind
colors: {
  custom: {
    50: '#666ca2',
    500: '#18367b',
    950: '#000000',
  },
}
SCSS
$custom: #18367b;
$custom-light: #666ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#18367b",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 221.818,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.12313,
    "h": 263.6
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#18367B
secondary
#B08E3F
accent
#B63EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18367B

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

Preview Lab → · Contrast checker → · Palette generator →

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