#18264B#18264B

#18264B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.071 H 266.3°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#18264B
RGBrgb(24, 38, 75)
HSLhsl(224, 52%, 19%)
HSVhsv(224, 68%, 29%)
CMYKcmyk(68%, 49.3%, 0%, 70.6%)
CIE-LABlab(15.94, 7.76, -24.80)
CIE-LCHlch(15.94, 25.98, 287.37°)
OKLaboklab(27.81% -0.0046 -0.0707)
OKLCHoklch(27.81% 0.071 266.3)
XYZxyz(2.3394, 2.0882, 6.9350)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18264B #4B3D18
analogous
#18404B #18264B #24184B
triadic
#18264B #4B1826 #264B18
tetradic
#18264B #4B1840 #4B3D18 #184B24
square
#18264B #4B1840 #4B3D18 #184B24
split-complementary
#18264B #4B2418 #404B18
monochromatic
#070C17 #090F1D #18264B #273D79 #3655A8

Accessibility & contrast

On white

14.81
#18264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18264B
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18264B#FFFFFF#000000##FFFFFF
##18264B1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#0D254A
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #18264b;
/* rgb */ color: rgb(24, 38, 75);
/* oklch */ color: oklch(27.8% 0.071 266.3);
Tailwind
colors: {
  custom: {
    50: '#5b5f7d',
    500: '#18264b',
    950: '#000000',
  },
}
SCSS
$custom: #18264b;
$custom-light: #5b5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#18264b",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 223.529,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27808,
    "c": 0.07089,
    "h": 266.3
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#18264B
secondary
#826F3D
accent
#B44DDB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #18264B

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

Preview Lab → · Contrast checker → · Palette generator →

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