#18346D#18346D

#18346D is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.105 H 262.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#18346D
RGBrgb(24, 52, 109)
HSLhsl(220, 64%, 26%)
HSVhsv(220, 78%, 43%)
CMYKcmyk(78%, 52.3%, 0%, 57.3%)
CIE-LABlab(22.84, 11.63, -36.23)
CIE-LCHlch(22.84, 38.05, 287.79°)
OKLaboklab(33.88% -0.0136 -0.1041)
OKLCHoklch(33.88% 0.105 262.5)
XYZxyz(4.3640, 3.7538, 14.9596)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18346D #6D5118
analogous
#185E6D #18346D #26186D
triadic
#18346D #6D1834 #346D18
tetradic
#18346D #6D185E #6D5118 #186D26
square
#18346D #6D185E #6D5118 #186D26
split-complementary
#18346D #6D2618 #5E6D18
monochromatic
#060C19 #0D1C3B #18346D #234C9F #2E64D1

Accessibility & contrast

On white

11.99
#18346D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18346D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18346D#FFFFFF#000000##FFFFFF
##18346D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B6F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #18346d;
/* rgb */ color: rgb(24, 52, 109);
/* oklch */ color: oklch(33.9% 0.105 262.5);
Tailwind
colors: {
  custom: {
    50: '#626a97',
    500: '#18346d',
    950: '#000000',
  },
}
SCSS
$custom: #18346d;
$custom-light: #626a97;
$custom-dark: #000000;
JSON
{
  "hex": "#18346d",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 220.235,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.10502,
    "h": 262.5
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#18346D
secondary
#A3823E
accent
#B041E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18346D

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

Preview Lab → · Contrast checker → · Palette generator →

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