#18468B#18468B

#18468B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.125 H 258.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#18468B
RGBrgb(24, 70, 139)
HSLhsl(216, 71%, 32%)
HSVhsv(216, 83%, 55%)
CMYKcmyk(82.7%, 49.6%, 0%, 45.5%)
CIE-LABlab(30.49, 11.42, -42.77)
CIE-LCHlch(30.49, 44.27, 284.94°)
OKLaboklab(40.43% -0.0244 -0.123)
OKLCHoklch(40.43% 0.125 258.8)
XYZxyz(7.2253, 6.4377, 25.2829)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18468B #8B5D18
analogous
#18808B #18468B #24188B
triadic
#18468B #8B1846 #468B18
tetradic
#18468B #8B1880 #8B5D18 #188B24
square
#18468B #8B1880 #8B5D18 #188B24
split-complementary
#18468B #8B2418 #808B18
monochromatic
#061123 #0F2C57 #18468B #2160BF #3F7FDE

Accessibility & contrast

On white

9.18
#18468B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#18468B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18468B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18468B#FFFFFF#000000##FFFFFF
##18468B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18468b;
/* rgb */ color: rgb(24, 70, 139);
/* oklch */ color: oklch(40.4% 0.125 258.8);
Tailwind
colors: {
  custom: {
    50: '#6978ad',
    500: '#18468b',
    950: '#000000',
  },
}
SCSS
$custom: #18468b;
$custom-light: #6978ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18468b",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 139
  },
  "hsl": {
    "h": 216,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.12538,
    "h": 258.8
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#18468B
secondary
#BE8C40
accent
#A63AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #18468B

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

Preview Lab → · Contrast checker → · Palette generator →

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