#18367A#18367A

#18367A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.122 H 263.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#18367A
RGBrgb(24, 54, 122)
HSLhsl(222, 67%, 29%)
HSVhsv(222, 80%, 48%)
CMYKcmyk(80.3%, 55.7%, 0%, 52.2%)
CIE-LABlab(24.44, 15.59, -41.94)
CIE-LCHlch(24.44, 44.75, 290.39°)
OKLaboklab(35.41% -0.0138 -0.1209)
OKLCHoklch(35.41% 0.122 263.5)
XYZxyz(5.2075, 4.2371, 18.9520)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18367A #7A5C18
analogous
#18677A #18367A #2B187A
triadic
#18367A #7A1836 #367A18
tetradic
#18367A #7A1867 #7A5C18 #187A2B
square
#18367A #7A1867 #7A5C18 #187A2B
split-complementary
#18367A #7A2B18 #677A18
monochromatic
#050B1A #0E1F47 #18367A #224DAD #3567D7

Accessibility & contrast

On white

11.37
#18367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18367A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18367A#FFFFFF#000000##FFFFFF
##18367A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18367a;
/* rgb */ color: rgb(24, 54, 122);
/* oklch */ color: oklch(35.4% 0.122 263.5);
Tailwind
colors: {
  custom: {
    50: '#666ca1',
    500: '#18367a',
    950: '#000000',
  },
}
SCSS
$custom: #18367a;
$custom-light: #666ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#18367a",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 221.633,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35412,
    "c": 0.12167,
    "h": 263.5
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#18367A
secondary
#AF8D3F
accent
#B53EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18367A

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

Preview Lab → · Contrast checker → · Palette generator →

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