#18326F#18326F

#18326F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.111 H 264.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#18326F
RGBrgb(24, 50, 111)
HSLhsl(222, 64%, 26%)
HSVhsv(222, 78%, 44%)
CMYKcmyk(78.4%, 55%, 0%, 56.5%)
CIE-LABlab(22.38, 13.89, -38.26)
CIE-LCHlch(22.38, 40.71, 289.96°)
OKLaboklab(33.58% -0.0116 -0.1101)
OKLCHoklch(33.58% 0.111 264)
XYZxyz(4.3855, 3.6226, 15.5039)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18326F #6F5518
analogous
#185E6F #18326F #2A186F
triadic
#18326F #6F1832 #326F18
tetradic
#18326F #6F185E #6F5518 #186F2A
square
#18326F #6F185E #6F5518 #186F2A
split-complementary
#18326F #6F2A18 #5E6F18
monochromatic
#050B19 #0D1B3D #18326F #2349A1 #2F60D2

Accessibility & contrast

On white

12.18
#18326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#18326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18326F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18326F#FFFFFF#000000##FFFFFF
##18326F1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A71
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #18326f;
/* rgb */ color: rgb(24, 50, 111);
/* oklch */ color: oklch(33.6% 0.111 264.0);
Tailwind
colors: {
  custom: {
    50: '#636999',
    500: '#18326f',
    950: '#000000',
  },
}
SCSS
$custom: #18326f;
$custom-light: #636999;
$custom-dark: #000000;
JSON
{
  "hex": "#18326f",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 222.069,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.11074,
    "h": 264
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#18326F
secondary
#A5863E
accent
#B640E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #18326F

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

Preview Lab → · Contrast checker → · Palette generator →

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