#18264D#18264D

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

Color values

HEX#18264D
RGBrgb(24, 38, 77)
HSLhsl(224, 52%, 20%)
HSVhsv(224, 69%, 30%)
CMYKcmyk(68.8%, 50.6%, 0%, 69.8%)
CIE-LABlab(16.08, 8.57, -25.94)
CIE-LCHlch(16.08, 27.32, 288.29°)
OKLaboklab(27.96% -0.0042 -0.0741)
OKLCHoklch(27.96% 0.074 266.8)
XYZxyz(2.4089, 2.1160, 7.3012)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18264D #4D3F18
analogous
#18414D #18264D #25184D
triadic
#18264D #4D1826 #264D18
tetradic
#18264D #4D1841 #4D3F18 #184D25
square
#18264D #4D1841 #4D3F18 #184D25
split-complementary
#18264D #4D2518 #414D18
monochromatic
#070C17 #090F1E #18264D #273D7C #3554AA

Accessibility & contrast

On white

14.76
#18264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18264D
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18264D#FFFFFF#000000##FFFFFF
##18264D1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4E
Deuteranopia (green-blind)
#0A264C
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #18264d;
/* rgb */ color: rgb(24, 38, 77);
/* oklch */ color: oklch(28.0% 0.074 266.8);
Tailwind
colors: {
  custom: {
    50: '#5b5f7f',
    500: '#18264d',
    950: '#000000',
  },
}
SCSS
$custom: #18264d;
$custom-light: #5b5f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#18264d",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 224.151,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27962,
    "c": 0.0742,
    "h": 266.8
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18264D

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

Preview Lab → · Contrast checker → · Palette generator →

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