#18326B#18326B

#18326B is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.105 H 263.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#18326B
RGBrgb(24, 50, 107)
HSLhsl(221, 63%, 26%)
HSVhsv(221, 78%, 42%)
CMYKcmyk(77.6%, 53.3%, 0%, 58%)
CIE-LABlab(22.08, 12.23, -36.18)
CIE-LCHlch(22.08, 38.19, 288.68°)
OKLaboklab(33.25% -0.0121 -0.104)
OKLCHoklch(33.25% 0.105 263.4)
XYZxyz(4.1702, 3.5365, 14.3699)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18326B #6B5118
analogous
#185B6B #18326B #27186B
triadic
#18326B #6B1832 #326B18
tetradic
#18326B #6B185B #6B5118 #186B27
square
#18326B #6B185B #6B5118 #186B27
split-complementary
#18326B #6B2718 #5B6B18
monochromatic
#060C19 #0D1B39 #18326B #23499D #2E61CF

Accessibility & contrast

On white

12.30
#18326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#18326B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18326B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18326B#FFFFFF#000000##FFFFFF
##18326B1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F396D
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #18326b;
/* rgb */ color: rgb(24, 50, 107);
/* oklch */ color: oklch(33.2% 0.105 263.4);
Tailwind
colors: {
  custom: {
    50: '#626996',
    500: '#18326b',
    950: '#000000',
  },
}
SCSS
$custom: #18326b;
$custom-light: #626996;
$custom-dark: #000000;
JSON
{
  "hex": "#18326b",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 221.205,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33247,
    "c": 0.1047,
    "h": 263.4
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#18326B
secondary
#A1823E
accent
#B341E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18326B

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

Preview Lab → · Contrast checker → · Palette generator →

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