#18367C#18367C

#18367C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.6% C 0.125 H 263.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#18367C
RGBrgb(24, 54, 124)
HSLhsl(222, 68%, 29%)
HSVhsv(222, 81%, 49%)
CMYKcmyk(80.6%, 56.5%, 0%, 51.4%)
CIE-LABlab(24.60, 16.42, -42.95)
CIE-LCHlch(24.60, 45.98, 290.92°)
OKLaboklab(35.58% -0.0136 -0.1238)
OKLCHoklch(35.58% 0.125 263.7)
XYZxyz(5.3326, 4.2871, 19.6113)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18367C #7C5E18
analogous
#18687C #18367C #2C187C
triadic
#18367C #7C1836 #367C18
tetradic
#18367C #7C1868 #7C5E18 #187C2C
square
#18367C #7C1868 #7C5E18 #187C2C
split-complementary
#18367C #7C2C18 #687C18
monochromatic
#050B1A #0E2049 #18367C #224CAF #3667D8

Accessibility & contrast

On white

11.30
#18367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#18367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18367C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18367C#FFFFFF#000000##FFFFFF
##18367C1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18367c;
/* rgb */ color: rgb(24, 54, 124);
/* oklch */ color: oklch(35.6% 0.125 263.7);
Tailwind
colors: {
  custom: {
    50: '#666ca2',
    500: '#18367c',
    950: '#000000',
  },
}
SCSS
$custom: #18367c;
$custom-light: #666ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#18367c",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 222,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35582,
    "c": 0.12459,
    "h": 263.7
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#18367C
secondary
#B18F3F
accent
#B73DEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18367C

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

Preview Lab → · Contrast checker → · Palette generator →

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