#18367E#18367E

#18367E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.128 H 264.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#18367E
RGBrgb(24, 54, 126)
HSLhsl(222, 68%, 29%)
HSVhsv(222, 81%, 49%)
CMYKcmyk(81%, 57.1%, 0%, 50.6%)
CIE-LABlab(24.76, 17.24, -43.95)
CIE-LCHlch(24.76, 47.21, 291.42°)
OKLaboklab(35.75% -0.0134 -0.1268)
OKLCHoklch(35.75% 0.128 264)
XYZxyz(5.4604, 4.3383, 20.2842)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18367E #7E6018
analogous
#18697E #18367E #2D187E
triadic
#18367E #7E1836 #367E18
tetradic
#18367E #7E1869 #7E6018 #187E2D
square
#18367E #7E1869 #7E6018 #187E2D
split-complementary
#18367E #7E2D18 #697E18
monochromatic
#050B1A #0E204B #18367E #224CB1 #3767D9

Accessibility & contrast

On white

11.24
#18367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18367E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18367E#FFFFFF#000000##FFFFFF
##18367E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #18367e;
/* rgb */ color: rgb(24, 54, 126);
/* oklch */ color: oklch(35.8% 0.128 264.0);
Tailwind
colors: {
  custom: {
    50: '#676ca4',
    500: '#18367e',
    950: '#000000',
  },
}
SCSS
$custom: #18367e;
$custom-light: #676ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#18367e",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 222.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35754,
    "c": 0.1275,
    "h": 264
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18367E

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

Preview Lab → · Contrast checker → · Palette generator →

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