#18326E#18326E

#18326E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.109 H 263.8°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#18326E
RGBrgb(24, 50, 110)
HSLhsl(222, 64%, 26%)
HSVhsv(222, 78%, 43%)
CMYKcmyk(78.2%, 54.5%, 0%, 56.9%)
CIE-LABlab(22.30, 13.48, -37.74)
CIE-LCHlch(22.30, 40.08, 289.65°)
OKLaboklab(33.49% -0.0117 -0.1086)
OKLCHoklch(33.49% 0.109 263.8)
XYZxyz(4.3308, 3.6007, 15.2156)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18326E #6E5418
analogous
#185D6E #18326E #29186E
triadic
#18326E #6E1832 #326E18
tetradic
#18326E #6E185D #6E5418 #186E29
square
#18326E #6E185D #6E5418 #186E29
split-complementary
#18326E #6E2918 #5D6E18
monochromatic
#050B19 #0D1B3C #18326E #2349A0 #2F60D2

Accessibility & contrast

On white

12.21
#18326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18326E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18326E#FFFFFF#000000##FFFFFF
##18326E1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3970
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #18326e;
/* rgb */ color: rgb(24, 50, 110);
/* oklch */ color: oklch(33.5% 0.109 263.8);
Tailwind
colors: {
  custom: {
    50: '#636998',
    500: '#18326e',
    950: '#000000',
  },
}
SCSS
$custom: #18326e;
$custom-light: #636998;
$custom-dark: #000000;
JSON
{
  "hex": "#18326e",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 221.86,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33494,
    "c": 0.10924,
    "h": 263.8
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#18326E
secondary
#A4853E
accent
#B541E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #18326E

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

Preview Lab → · Contrast checker → · Palette generator →

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