#18367D#18367D

#18367D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.126 H 263.8°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#18367D
RGBrgb(24, 54, 125)
HSLhsl(222, 68%, 29%)
HSVhsv(222, 81%, 49%)
CMYKcmyk(80.8%, 56.8%, 0%, 51%)
CIE-LABlab(24.68, 16.83, -43.45)
CIE-LCHlch(24.68, 46.60, 291.17°)
OKLaboklab(35.67% -0.0135 -0.1253)
OKLCHoklch(35.67% 0.126 263.8)
XYZxyz(5.3962, 4.3126, 19.9461)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18367D #7D5F18
analogous
#18697D #18367D #2D187D
triadic
#18367D #7D1836 #367D18
tetradic
#18367D #7D1869 #7D5F18 #187D2D
square
#18367D #7D1869 #7D5F18 #187D2D
split-complementary
#18367D #7D2D18 #697D18
monochromatic
#050B1A #0E204A #18367D #224CB0 #3767D9

Accessibility & contrast

On white

11.27
#18367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18367D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18367D#FFFFFF#000000##FFFFFF
##18367D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18367d;
/* rgb */ color: rgb(24, 54, 125);
/* oklch */ color: oklch(35.7% 0.126 263.8);
Tailwind
colors: {
  custom: {
    50: '#666ca3',
    500: '#18367d',
    950: '#000000',
  },
}
SCSS
$custom: #18367d;
$custom-light: #666ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#18367d",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 222.178,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35668,
    "c": 0.12605,
    "h": 263.8
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#18367D
secondary
#B2903F
accent
#B73DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18367D

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

Preview Lab → · Contrast checker → · Palette generator →

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