#18264A#18264A

#18264A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.7% C 0.069 H 266.0°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#18264A
RGBrgb(24, 38, 74)
HSLhsl(223, 51%, 19%)
HSVhsv(223, 68%, 29%)
CMYKcmyk(67.6%, 48.6%, 0%, 71%)
CIE-LABlab(15.87, 7.35, -24.22)
CIE-LCHlch(15.87, 25.31, 286.87°)
OKLaboklab(27.73% -0.0048 -0.0691)
OKLCHoklch(27.73% 0.069 266)
XYZxyz(2.3054, 2.0746, 6.7562)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18264A #4A3C18
analogous
#183F4A #18264A #23184A
triadic
#18264A #4A1826 #264A18
tetradic
#18264A #4A183F #4A3C18 #184A23
square
#18264A #4A183F #4A3C18 #184A23
split-complementary
#18264A #4A2318 #3F4A18
monochromatic
#070C17 #090E1C #18264A #273E78 #3655A6

Accessibility & contrast

On white

14.84
#18264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#18264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18264A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18264A#FFFFFF#000000##FFFFFF
##18264A1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4B
Deuteranopia (green-blind)
#0E2549
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18264a;
/* rgb */ color: rgb(24, 38, 74);
/* oklch */ color: oklch(27.7% 0.069 266.0);
Tailwind
colors: {
  custom: {
    50: '#5a5f7d',
    500: '#18264a',
    950: '#000000',
  },
}
SCSS
$custom: #18264a;
$custom-light: #5a5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#18264a",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 223.2,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27733,
    "c": 0.06923,
    "h": 266
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#18264A
secondary
#816E3D
accent
#B34DDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #18264A

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

Preview Lab → · Contrast checker → · Palette generator →

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