#181358#181358

#181358 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.118 H 276.9°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#181358
RGBrgb(24, 19, 88)
HSLhsl(244, 64%, 21%)
HSVhsv(244, 78%, 35%)
CMYKcmyk(72.7%, 78.4%, 0%, 65.5%)
CIE-LABlab(11.72, 26.61, -40.51)
CIE-LCHlch(11.72, 48.46, 303.30°)
OKLaboklab(25.04% 0.0141 -0.117)
OKLCHoklch(25.04% 0.118 276.9)
XYZxyz(2.3704, 1.3643, 9.3690)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181358 #535813
analogous
#133058 #181358 #3A1358
triadic
#181358 #581813 #135818
tetradic
#181358 #581330 #535813 #13583A
square
#181358 #581330 #535813 #13583A
split-complementary
#181358 #583A13 #305813
monochromatic
#070519 #0A0826 #181358 #261E8A #3329BD

Accessibility & contrast

On white

16.50
#181358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#181358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181358
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181358#FFFFFF#000000##FFFFFF
##1813581.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181358;
/* rgb */ color: rgb(24, 19, 88);
/* oklch */ color: oklch(25.0% 0.118 276.9);
Tailwind
colors: {
  custom: {
    50: '#605188',
    500: '#181358',
    950: '#000000',
  },
}
SCSS
$custom: #181358;
$custom-light: #605188;
$custom-dark: #000000;
JSON
{
  "hex": "#181358",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 244.348,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25038,
    "c": 0.11786,
    "h": 276.9
  },
  "luminance": 0.01365
}

Semantic roles & 50–950 ramp

primary
#181358
secondary
#8A9037
accent
#E740DB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #181358

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

Preview Lab → · Contrast checker → · Palette generator →

#181358 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva