#18458D#18458D

#18458D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.129 H 259.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#18458D
RGBrgb(24, 69, 141)
HSLhsl(217, 71%, 32%)
HSVhsv(217, 83%, 55%)
CMYKcmyk(83%, 51.1%, 0%, 44.7%)
CIE-LABlab(30.33, 12.93, -44.26)
CIE-LCHlch(30.33, 46.11, 286.28°)
OKLaboklab(40.36% -0.0232 -0.1274)
OKLCHoklch(40.36% 0.129 259.7)
XYZxyz(7.3108, 6.3726, 26.0389)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18458D #8D6018
analogous
#18808D #18458D #25188D
triadic
#18458D #8D1845 #458D18
tetradic
#18458D #8D1880 #8D6018 #188D25
square
#18458D #8D1880 #8D6018 #188D25
split-complementary
#18458D #8D2518 #808D18
monochromatic
#061224 #0F2B59 #18458D #215FC1 #417DDF

Accessibility & contrast

On white

9.23
#18458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#18458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18458D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18458D#FFFFFF#000000##FFFFFF
##18458D1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18458d;
/* rgb */ color: rgb(24, 69, 141);
/* oklch */ color: oklch(40.4% 0.129 259.7);
Tailwind
colors: {
  custom: {
    50: '#6a78af',
    500: '#18458d',
    950: '#000000',
  },
}
SCSS
$custom: #18458d;
$custom-light: #6a78af;
$custom-dark: #000000;
JSON
{
  "hex": "#18458d",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 216.923,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40359,
    "c": 0.12948,
    "h": 259.7
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#18458D
secondary
#BF8F42
accent
#A93AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #18458D

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

Preview Lab → · Contrast checker → · Palette generator →

#18458D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva