#18498F#18498F

#18498F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.127 H 258.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#18498F
RGBrgb(24, 73, 143)
HSLhsl(215, 71%, 33%)
HSVhsv(215, 83%, 56%)
CMYKcmyk(83.2%, 49%, 0%, 43.9%)
CIE-LABlab(31.67, 11.00, -43.32)
CIE-LCHlch(31.67, 44.70, 284.25°)
OKLaboklab(41.43% -0.0261 -0.1245)
OKLCHoklch(41.43% 0.127 258.2)
XYZxyz(7.7153, 6.9415, 26.9145)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18498F #8F5E18
analogous
#18848F #18498F #22188F
triadic
#18498F #8F1849 #498F18
tetradic
#18498F #8F1884 #8F5E18 #188F22
square
#18498F #8F1884 #8F5E18 #188F22
split-complementary
#18498F #8F2218 #848F18
monochromatic
#061326 #0F2E5B #18498F #2164C3 #4283DF

Accessibility & contrast

On white

8.79
#18498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#18498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18498F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18498F#FFFFFF#000000##FFFFFF
##18498F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #18498f;
/* rgb */ color: rgb(24, 73, 143);
/* oklch */ color: oklch(41.4% 0.127 258.2);
Tailwind
colors: {
  custom: {
    50: '#6a7bb0',
    500: '#18498f',
    950: '#000000',
  },
}
SCSS
$custom: #18498f;
$custom-light: #6a7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#18498f",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 215.294,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.12726,
    "h": 258.2
  },
  "luminance": 0.06942
}

Semantic roles & 50–950 ramp

primary
#18498F
secondary
#C08C43
accent
#A43AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #18498F

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

Preview Lab → · Contrast checker → · Palette generator →

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