#18346E#18346E

#18346E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.107 H 262.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#18346E
RGBrgb(24, 52, 110)
HSLhsl(220, 64%, 26%)
HSVhsv(220, 78%, 43%)
CMYKcmyk(78.2%, 52.7%, 0%, 56.9%)
CIE-LABlab(22.91, 12.04, -36.76)
CIE-LCHlch(22.91, 38.68, 288.14°)
OKLaboklab(33.96% -0.0135 -0.1057)
OKLCHoklch(33.96% 0.107 262.7)
XYZxyz(4.4181, 3.7755, 15.2447)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18346E #6E5218
analogous
#185F6E #18346E #27186E
triadic
#18346E #6E1834 #346E18
tetradic
#18346E #6E185F #6E5218 #186E27
square
#18346E #6E185F #6E5218 #186E27
split-complementary
#18346E #6E2718 #5F6E18
monochromatic
#050C19 #0D1C3C #18346E #234CA0 #2F64D2

Accessibility & contrast

On white

11.96
#18346E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#18346E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18346E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18346E#FFFFFF#000000##FFFFFF
##18346E1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #18346e;
/* rgb */ color: rgb(24, 52, 110);
/* oklch */ color: oklch(34.0% 0.107 262.7);
Tailwind
colors: {
  custom: {
    50: '#636a98',
    500: '#18346e',
    950: '#000000',
  },
}
SCSS
$custom: #18346e;
$custom-light: #636a98;
$custom-dark: #000000;
JSON
{
  "hex": "#18346e",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 220.465,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.10653,
    "h": 262.7
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#18346E
secondary
#A4833E
accent
#B141E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #18346E

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

Preview Lab → · Contrast checker → · Palette generator →

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