#18468F#18468F

#18468F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.7% C 0.131 H 259.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#18468F
RGBrgb(24, 70, 143)
HSLhsl(217, 71%, 33%)
HSVhsv(217, 83%, 56%)
CMYKcmyk(83.2%, 51%, 0%, 43.9%)
CIE-LABlab(30.78, 13.06, -44.77)
CIE-LCHlch(30.78, 46.64, 286.26°)
OKLaboklab(40.74% -0.0237 -0.1289)
OKLCHoklch(40.74% 0.131 259.6)
XYZxyz(7.5230, 6.5568, 26.8504)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18468F #8F6118
analogous
#18818F #18468F #26188F
triadic
#18468F #8F1846 #468F18
tetradic
#18468F #8F1881 #8F6118 #188F26
square
#18468F #8F1881 #8F6118 #188F26
split-complementary
#18468F #8F2618 #818F18
monochromatic
#061326 #0F2C5B #18468F #2160C3 #427FDF

Accessibility & contrast

On white

9.08
#18468F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18468F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18468F#FFFFFF#000000##FFFFFF
##18468F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E92
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18468f;
/* rgb */ color: rgb(24, 70, 143);
/* oklch */ color: oklch(40.7% 0.131 259.6);
Tailwind
colors: {
  custom: {
    50: '#6a78b0',
    500: '#18468f',
    950: '#000000',
  },
}
SCSS
$custom: #18468f;
$custom-light: #6a78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18468f",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 216.807,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.13104,
    "h": 259.6
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18468F

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

Preview Lab → · Contrast checker → · Palette generator →

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