#18346A#18346A

#18346A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.100 H 261.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#18346A
RGBrgb(24, 52, 106)
HSLhsl(220, 63%, 25%)
HSVhsv(220, 77%, 42%)
CMYKcmyk(77.4%, 50.9%, 0%, 58.4%)
CIE-LABlab(22.62, 10.38, -34.66)
CIE-LCHlch(22.62, 36.18, 286.67°)
OKLaboklab(33.64% -0.0141 -0.0995)
OKLCHoklch(33.64% 0.1 261.9)
XYZxyz(4.2053, 3.6903, 14.1236)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18346A #6A4E18
analogous
#185D6A #18346A #25186A
triadic
#18346A #6A1834 #346A18
tetradic
#18346A #6A185D #6A4E18 #186A25
square
#18346A #6A185D #6A4E18 #186A25
split-complementary
#18346A #6A2518 #5D6A18
monochromatic
#060C19 #0D1C38 #18346A #234C9C #2F65CE

Accessibility & contrast

On white

12.08
#18346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#18346A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18346A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18346A#FFFFFF#000000##FFFFFF
##18346A1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163A6C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #18346a;
/* rgb */ color: rgb(24, 52, 106);
/* oklch */ color: oklch(33.6% 0.100 261.9);
Tailwind
colors: {
  custom: {
    50: '#616a95',
    500: '#18346a',
    950: '#000000',
  },
}
SCSS
$custom: #18346a;
$custom-light: #616a95;
$custom-dark: #000000;
JSON
{
  "hex": "#18346a",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 219.512,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33639,
    "c": 0.10048,
    "h": 261.9
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#18346A
secondary
#A07E3E
accent
#AE42E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18346A

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

Preview Lab → · Contrast checker → · Palette generator →

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