#18346F#18346F

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

Color values

HEX#18346F
RGBrgb(24, 52, 111)
HSLhsl(221, 64%, 26%)
HSVhsv(221, 78%, 44%)
CMYKcmyk(78.4%, 53.2%, 0%, 56.5%)
CIE-LABlab(22.99, 12.46, -37.28)
CIE-LCHlch(22.99, 39.31, 288.48°)
OKLaboklab(34.04% -0.0134 -0.1072)
OKLCHoklch(34.04% 0.108 262.9)
XYZxyz(4.4729, 3.7974, 15.5331)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18346F #6F5318
analogous
#18606F #18346F #28186F
triadic
#18346F #6F1834 #346F18
tetradic
#18346F #6F1860 #6F5318 #186F28
square
#18346F #6F1860 #6F5318 #186F28
split-complementary
#18346F #6F2818 #606F18
monochromatic
#050C19 #0D1C3D #18346F #234CA1 #2F64D2

Accessibility & contrast

On white

11.93
#18346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18346F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18346F#FFFFFF#000000##FFFFFF
##18346F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #18346f;
/* rgb */ color: rgb(24, 52, 111);
/* oklch */ color: oklch(34.0% 0.108 262.9);
Tailwind
colors: {
  custom: {
    50: '#636a99',
    500: '#18346f',
    950: '#000000',
  },
}
SCSS
$custom: #18346f;
$custom-light: #636a99;
$custom-dark: #000000;
JSON
{
  "hex": "#18346f",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 220.69,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3404,
    "c": 0.10803,
    "h": 262.9
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#18346F
secondary
#A5843E
accent
#B240E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #18346F

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

Preview Lab → · Contrast checker → · Palette generator →

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