#18499F#18499F

#18499F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.150 H 260.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#18499F
RGBrgb(24, 73, 159)
HSLhsl(218, 74%, 36%)
HSVhsv(218, 85%, 62%)
CMYKcmyk(84.9%, 54.1%, 0%, 37.6%)
CIE-LABlab(32.84, 17.53, -51.17)
CIE-LCHlch(32.84, 54.09, 288.91°)
OKLaboklab(42.69% -0.0238 -0.1476)
OKLCHoklch(42.69% 0.15 260.8)
XYZxyz(9.0150, 7.4614, 33.7592)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18499F #9F6E18
analogous
#188C9F #18499F #2A189F
triadic
#18499F #9F1849 #499F18
tetradic
#18499F #9F188C #9F6E18 #189F2A
square
#18499F #9F188C #9F6E18 #189F2A
split-complementary
#18499F #9F2A18 #8C9F18
monochromatic
#081835 #10316A #18499F #2061D4 #4D84E4

Accessibility & contrast

On white

8.43
#18499F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#18499F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18499F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18499F#FFFFFF#000000##FFFFFF
##18499F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #18499f;
/* rgb */ color: rgb(24, 73, 159);
/* oklch */ color: oklch(42.7% 0.150 260.8);
Tailwind
colors: {
  custom: {
    50: '#6e7bbc',
    500: '#18499f',
    950: '#000000',
  },
}
SCSS
$custom: #18499f;
$custom-light: #6e7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#18499f",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 218.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42691,
    "c": 0.14954,
    "h": 260.8
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#18499F
secondary
#C69A4D
accent
#AD37F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #18499F

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

Preview Lab → · Contrast checker → · Palette generator →

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