#18498E#18498E

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

Color values

HEX#18498E
RGBrgb(24, 73, 142)
HSLhsl(215, 71%, 33%)
HSVhsv(215, 83%, 56%)
CMYKcmyk(83.1%, 48.6%, 0%, 44.3%)
CIE-LABlab(31.60, 10.59, -42.82)
CIE-LCHlch(31.60, 44.11, 283.90°)
OKLaboklab(41.36% -0.0263 -0.1231)
OKLCHoklch(41.36% 0.126 258)
XYZxyz(7.6399, 6.9113, 26.5173)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18498E #8E5D18
analogous
#18848E #18498E #22188E
triadic
#18498E #8E1849 #498E18
tetradic
#18498E #8E1884 #8E5D18 #188E22
square
#18498E #8E1884 #8E5D18 #188E22
split-complementary
#18498E #8E2218 #848E18
monochromatic
#061325 #0F2E5A #18498E #2164C2 #4183DF

Accessibility & contrast

On white

8.81
#18498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#18498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18498E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18498E#FFFFFF#000000##FFFFFF
##18498E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #18498e;
/* rgb */ color: rgb(24, 73, 142);
/* oklch */ color: oklch(41.4% 0.126 258.0);
Tailwind
colors: {
  custom: {
    50: '#6a7baf',
    500: '#18498e',
    950: '#000000',
  },
}
SCSS
$custom: #18498e;
$custom-light: #6a7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#18498e",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 215.085,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.12584,
    "h": 258
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#18498E
secondary
#C08C42
accent
#A33AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #18498E

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

Preview Lab → · Contrast checker → · Palette generator →

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