#18368F#18368F

#18368F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.152 H 265.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#18368F
RGBrgb(24, 54, 143)
HSLhsl(225, 71%, 33%)
HSVhsv(225, 83%, 56%)
CMYKcmyk(83.2%, 62.2%, 0%, 43.9%)
CIE-LABlab(26.20, 24.15, -52.20)
CIE-LCHlch(26.20, 57.52, 294.83°)
OKLaboklab(37.29% -0.0126 -0.151)
OKLCHoklch(37.29% 0.152 265.2)
XYZxyz(6.6520, 4.8149, 26.5601)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18368F #8F7118
analogous
#18718F #18368F #36188F
triadic
#18368F #8F1836 #368F18
tetradic
#18368F #8F1871 #8F7118 #188F36
square
#18368F #8F1871 #8F7118 #188F36
split-complementary
#18368F #8F3618 #718F18
monochromatic
#060E26 #0F225B #18368F #214AC3 #426ADF

Accessibility & contrast

On white

10.70
#18368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#18368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18368F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18368F#FFFFFF#000000##FFFFFF
##18368F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18368f;
/* rgb */ color: rgb(24, 54, 143);
/* oklch */ color: oklch(37.3% 0.152 265.2);
Tailwind
colors: {
  custom: {
    50: '#6b6cb1',
    500: '#18368f',
    950: '#000000',
  },
}
SCSS
$custom: #18368f;
$custom-light: #6b6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#18368f",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 224.874,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37285,
    "c": 0.15155,
    "h": 265.2
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#18368F
secondary
#C0A043
accent
#C13AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #18368F

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

Preview Lab → · Contrast checker → · Palette generator →

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