#18336A#18336A

#18336A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.102 H 262.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#18336A
RGBrgb(24, 51, 106)
HSLhsl(220, 63%, 25%)
HSVhsv(220, 77%, 42%)
CMYKcmyk(77.4%, 51.9%, 0%, 58.4%)
CIE-LABlab(22.31, 11.10, -35.16)
CIE-LCHlch(22.31, 36.86, 287.52°)
OKLaboklab(33.4% -0.0132 -0.101)
OKLCHoklch(33.4% 0.102 262.6)
XYZxyz(4.1611, 3.6020, 14.1088)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18336A #6A4F18
analogous
#185C6A #18336A #26186A
triadic
#18336A #6A1833 #336A18
tetradic
#18336A #6A185C #6A4F18 #186A26
square
#18336A #6A185C #6A4F18 #186A26
split-complementary
#18336A #6A2618 #5C6A18
monochromatic
#060C19 #0D1B38 #18336A #234B9C #2F63CE

Accessibility & contrast

On white

12.21
#18336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#18336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18336A
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18336A#FFFFFF#000000##FFFFFF
##18336A1.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)
#13396C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #18336a;
/* rgb */ color: rgb(24, 51, 106);
/* oklch */ color: oklch(33.4% 0.102 262.6);
Tailwind
colors: {
  custom: {
    50: '#626a95',
    500: '#18336a',
    950: '#000000',
  },
}
SCSS
$custom: #18336a;
$custom-light: #626a95;
$custom-dark: #000000;
JSON
{
  "hex": "#18336a",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 220.244,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33401,
    "c": 0.10183,
    "h": 262.6
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#18336A
secondary
#A0803E
accent
#B042E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #18336A

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

Preview Lab → · Contrast checker → · Palette generator →

#18336A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva