#18346C#18346C

#18346C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.103 H 262.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#18346C
RGBrgb(24, 52, 108)
HSLhsl(220, 64%, 26%)
HSVhsv(220, 78%, 42%)
CMYKcmyk(77.8%, 51.9%, 0%, 57.6%)
CIE-LABlab(22.77, 11.21, -35.71)
CIE-LCHlch(22.77, 37.43, 287.43°)
OKLaboklab(33.8% -0.0138 -0.1026)
OKLCHoklch(33.8% 0.104 262.3)
XYZxyz(4.3105, 3.7324, 14.6777)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18346C #6C5018
analogous
#185E6C #18346C #26186C
triadic
#18346C #6C1834 #346C18
tetradic
#18346C #6C185E #6C5018 #186C26
square
#18346C #6C185E #6C5018 #186C26
split-complementary
#18346C #6C2618 #5E6C18
monochromatic
#060C19 #0D1C3A #18346C #234C9E #2E64D0

Accessibility & contrast

On white

12.02
#18346C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#18346C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18346C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18346C#FFFFFF#000000##FFFFFF
##18346C1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #18346c;
/* rgb */ color: rgb(24, 52, 108);
/* oklch */ color: oklch(33.8% 0.103 262.3);
Tailwind
colors: {
  custom: {
    50: '#626a96',
    500: '#18346c',
    950: '#000000',
  },
}
SCSS
$custom: #18346c;
$custom-light: #626a96;
$custom-dark: #000000;
JSON
{
  "hex": "#18346c",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 108
  },
  "hsl": {
    "h": 220,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33798,
    "c": 0.1035,
    "h": 262.3
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#18346C
secondary
#A2813E
accent
#AF41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18346C

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

Preview Lab → · Contrast checker → · Palette generator →

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