#18264C#18264C

#18264C is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.073 H 266.5°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#18264C
RGBrgb(24, 38, 76)
HSLhsl(224, 52%, 20%)
HSVhsv(224, 68%, 30%)
CMYKcmyk(68.4%, 50%, 0%, 70.2%)
CIE-LABlab(16.01, 8.16, -25.37)
CIE-LCHlch(16.01, 26.65, 287.84°)
OKLaboklab(27.89% -0.0044 -0.0724)
OKLCHoklch(27.89% 0.073 266.5)
XYZxyz(2.3739, 2.1020, 7.1167)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18264C #4C3E18
analogous
#18404C #18264C #24184C
triadic
#18264C #4C1826 #264C18
tetradic
#18264C #4C1840 #4C3E18 #184C24
square
#18264C #4C1840 #4C3E18 #184C24
split-complementary
#18264C #4C2418 #404C18
monochromatic
#070C17 #090F1D #18264C #273D7B #3555A9

Accessibility & contrast

On white

14.78
#18264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18264C
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18264C#FFFFFF#000000##FFFFFF
##18264C1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4D
Deuteranopia (green-blind)
#0C264B
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #18264c;
/* rgb */ color: rgb(24, 38, 76);
/* oklch */ color: oklch(27.9% 0.073 266.5);
Tailwind
colors: {
  custom: {
    50: '#5b5f7e',
    500: '#18264c',
    950: '#000000',
  },
}
SCSS
$custom: #18264c;
$custom-light: #5b5f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#18264c",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 223.846,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27885,
    "c": 0.07254,
    "h": 266.5
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#18264C
secondary
#83703D
accent
#B54CDB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18264C

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

Preview Lab → · Contrast checker → · Palette generator →

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