#18356C#18356C

#18356C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.102 H 261.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#18356C
RGBrgb(24, 53, 108)
HSLhsl(219, 64%, 26%)
HSVhsv(219, 78%, 42%)
CMYKcmyk(77.8%, 50.9%, 0%, 57.6%)
CIE-LABlab(23.08, 10.49, -35.21)
CIE-LCHlch(23.08, 36.74, 286.60°)
OKLaboklab(34.03% -0.0147 -0.1011)
OKLCHoklch(34.03% 0.102 261.7)
XYZxyz(4.3556, 3.8226, 14.6927)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18356C #6C4F18
analogous
#185F6C #18356C #25186C
triadic
#18356C #6C1835 #356C18
tetradic
#18356C #6C185F #6C4F18 #186C25
square
#18356C #6C185F #6C4F18 #186C25
split-complementary
#18356C #6C2518 #5F6C18
monochromatic
#060C19 #0D1C3A #18356C #234E9E #2E66D0

Accessibility & contrast

On white

11.90
#18356C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#18356C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18356C
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18356C#FFFFFF#000000##FFFFFF
##18356C1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163B6E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #18356c;
/* rgb */ color: rgb(24, 53, 108);
/* oklch */ color: oklch(34.0% 0.102 261.7);
Tailwind
colors: {
  custom: {
    50: '#626b96',
    500: '#18356c',
    950: '#000000',
  },
}
SCSS
$custom: #18356c;
$custom-light: #626b96;
$custom-dark: #000000;
JSON
{
  "hex": "#18356c",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 108
  },
  "hsl": {
    "h": 219.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34035,
    "c": 0.10217,
    "h": 261.7
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#18356C
secondary
#A27F3E
accent
#AE41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18356C

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

Preview Lab → · Contrast checker → · Palette generator →

#18356C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva