#18264E#18264E

#18264E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.076 H 267.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#18264E
RGBrgb(24, 38, 78)
HSLhsl(224, 53%, 20%)
HSVhsv(224, 69%, 31%)
CMYKcmyk(69.2%, 51.3%, 0%, 69.4%)
CIE-LABlab(16.16, 8.98, -26.50)
CIE-LCHlch(16.16, 27.98, 288.72°)
OKLaboklab(28.04% -0.004 -0.0757)
OKLCHoklch(28.04% 0.076 267)
XYZxyz(2.4445, 2.1303, 7.4886)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18264E #4E4018
analogous
#18414E #18264E #25184E
triadic
#18264E #4E1826 #264E18
tetradic
#18264E #4E1841 #4E4018 #184E25
square
#18264E #4E1841 #4E4018 #184E25
split-complementary
#18264E #4E2518 #414E18
monochromatic
#070B17 #0A0F1F #18264E #263D7D #3554AC

Accessibility & contrast

On white

14.73
#18264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#18264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18264E
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18264E#FFFFFF#000000##FFFFFF
##18264E1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B4F
Deuteranopia (green-blind)
#09264D
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #18264e;
/* rgb */ color: rgb(24, 38, 78);
/* oklch */ color: oklch(28.0% 0.076 267.0);
Tailwind
colors: {
  custom: {
    50: '#5b5f80',
    500: '#18264e',
    950: '#000000',
  },
}
SCSS
$custom: #18264e;
$custom-light: #5b5f80;
$custom-dark: #000000;
JSON
{
  "hex": "#18264e",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 224.444,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.2804,
    "c": 0.07586,
    "h": 267
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#18264E
secondary
#85723D
accent
#B74BDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18264E

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

Preview Lab → · Contrast checker → · Palette generator →

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