#18367F#18367F

#18367F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.8% C 0.129 H 264.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#18367F
RGBrgb(24, 54, 127)
HSLhsl(223, 68%, 30%)
HSVhsv(223, 81%, 50%)
CMYKcmyk(81.1%, 57.5%, 0%, 50.2%)
CIE-LABlab(24.84, 17.65, -44.45)
CIE-LCHlch(24.84, 47.83, 291.66°)
OKLaboklab(35.84% -0.0133 -0.1282)
OKLCHoklch(35.84% 0.129 264.1)
XYZxyz(5.5253, 4.3642, 20.6257)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18367F #7F6118
analogous
#186A7F #18367F #2D187F
triadic
#18367F #7F1836 #367F18
tetradic
#18367F #7F186A #7F6118 #187F2D
square
#18367F #7F186A #7F6118 #187F2D
split-complementary
#18367F #7F2D18 #6A7F18
monochromatic
#050B1A #0E204C #18367F #224CB2 #3867D9

Accessibility & contrast

On white

11.21
#18367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#18367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18367F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18367F#FFFFFF#000000##FFFFFF
##18367F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18367f;
/* rgb */ color: rgb(24, 54, 127);
/* oklch */ color: oklch(35.8% 0.129 264.1);
Tailwind
colors: {
  custom: {
    50: '#676ca5',
    500: '#18367f',
    950: '#000000',
  },
}
SCSS
$custom: #18367f;
$custom-light: #676ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#18367f",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 222.524,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35841,
    "c": 0.12894,
    "h": 264.1
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#18367F
secondary
#B3923F
accent
#B83DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18367F

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

Preview Lab → · Contrast checker → · Palette generator →

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