#18468E#18468E

#18468E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.130 H 259.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#18468E
RGBrgb(24, 70, 142)
HSLhsl(217, 71%, 33%)
HSVhsv(217, 83%, 56%)
CMYKcmyk(83.1%, 50.7%, 0%, 44.3%)
CIE-LABlab(30.70, 12.65, -44.27)
CIE-LCHlch(30.70, 46.04, 285.94°)
OKLaboklab(40.67% -0.0239 -0.1274)
OKLCHoklch(40.67% 0.13 259.4)
XYZxyz(7.4475, 6.5266, 26.4532)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18468E #8E6018
analogous
#18818E #18468E #25188E
triadic
#18468E #8E1846 #468E18
tetradic
#18468E #8E1881 #8E6018 #188E25
square
#18468E #8E1881 #8E6018 #188E25
split-complementary
#18468E #8E2518 #818E18
monochromatic
#061225 #0F2C5A #18468E #2160C2 #417FDF

Accessibility & contrast

On white

9.11
#18468E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#18468E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18468E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18468E#FFFFFF#000000##FFFFFF
##18468E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18468e;
/* rgb */ color: rgb(24, 70, 142);
/* oklch */ color: oklch(40.7% 0.130 259.4);
Tailwind
colors: {
  custom: {
    50: '#6a78b0',
    500: '#18468e',
    950: '#000000',
  },
}
SCSS
$custom: #18468e;
$custom-light: #6a78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18468e",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 142
  },
  "hsl": {
    "h": 216.61,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.12963,
    "h": 259.4
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#18468E
secondary
#C08F42
accent
#A83AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #18468E

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

Preview Lab → · Contrast checker → · Palette generator →

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