#18458A#18458A

#18458A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.1% C 0.125 H 259.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#18458A
RGBrgb(24, 69, 138)
HSLhsl(216, 70%, 32%)
HSVhsv(216, 83%, 54%)
CMYKcmyk(82.6%, 50%, 0%, 45.9%)
CIE-LABlab(30.12, 11.69, -42.75)
CIE-LCHlch(30.12, 44.32, 285.30°)
OKLaboklab(40.13% -0.0237 -0.123)
OKLCHoklch(40.13% 0.125 259.1)
XYZxyz(7.0906, 6.2846, 24.8792)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18458A #8A5D18
analogous
#187E8A #18458A #24188A
triadic
#18458A #8A1845 #458A18
tetradic
#18458A #8A187E #8A5D18 #188A24
square
#18458A #8A187E #8A5D18 #188A24
split-complementary
#18458A #8A2418 #7E8A18
monochromatic
#061122 #0F2B56 #18458A #215FBE #3F7DDE

Accessibility & contrast

On white

9.30
#18458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#18458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18458A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18458A#FFFFFF#000000##FFFFFF
##18458A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8D
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18458a;
/* rgb */ color: rgb(24, 69, 138);
/* oklch */ color: oklch(40.1% 0.125 259.1);
Tailwind
colors: {
  custom: {
    50: '#6978ad',
    500: '#18458a',
    950: '#000000',
  },
}
SCSS
$custom: #18458a;
$custom-light: #6978ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18458a",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 216.316,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.12523,
    "h": 259.1
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#18458A
secondary
#BD8C40
accent
#A73BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #18458A

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

Preview Lab → · Contrast checker → · Palette generator →

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