#18468C#18468C

#18468C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.5% C 0.127 H 259.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#18468C
RGBrgb(24, 70, 140)
HSLhsl(216, 71%, 32%)
HSVhsv(216, 83%, 55%)
CMYKcmyk(82.9%, 50%, 0%, 45.1%)
CIE-LABlab(30.56, 11.83, -43.27)
CIE-LCHlch(30.56, 44.86, 285.29°)
OKLaboklab(40.51% -0.0242 -0.1245)
OKLCHoklch(40.51% 0.127 259)
XYZxyz(7.2987, 6.4671, 25.6695)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18468C #8C5E18
analogous
#18808C #18468C #24188C
triadic
#18468C #8C1846 #468C18
tetradic
#18468C #8C1880 #8C5E18 #188C24
square
#18468C #8C1880 #8C5E18 #188C24
split-complementary
#18468C #8C2418 #808C18
monochromatic
#061224 #0F2C58 #18468C #2160C0 #407FDE

Accessibility & contrast

On white

9.16
#18468C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18468C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18468C#FFFFFF#000000##FFFFFF
##18468C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18468c;
/* rgb */ color: rgb(24, 70, 140);
/* oklch */ color: oklch(40.5% 0.127 259.0);
Tailwind
colors: {
  custom: {
    50: '#6978ae',
    500: '#18468c',
    950: '#000000',
  },
}
SCSS
$custom: #18468c;
$custom-light: #6978ae;
$custom-dark: #000000;
JSON
{
  "hex": "#18468c",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 140
  },
  "hsl": {
    "h": 216.207,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40511,
    "c": 0.1268,
    "h": 259
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18468C

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

Preview Lab → · Contrast checker → · Palette generator →

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