#18135C#18135C

#18135C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.123 H 276.1°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#18135C
RGBrgb(24, 19, 92)
HSLhsl(244, 66%, 22%)
HSVhsv(244, 79%, 36%)
CMYKcmyk(73.9%, 79.3%, 0%, 63.9%)
CIE-LABlab(12.17, 28.07, -42.46)
CIE-LCHlch(12.17, 50.90, 303.47°)
OKLaboklab(25.5% 0.0132 -0.1227)
OKLCHoklch(25.5% 0.123 276.1)
XYZxyz(2.5407, 1.4324, 10.2657)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18135C #575C13
analogous
#13335C #18135C #3D135C
triadic
#18135C #5C1813 #135C18
tetradic
#18135C #5C1333 #575C13 #135C3D
square
#18135C #5C1333 #575C13 #135C3D
split-complementary
#18135C #5C3D13 #335C13
monochromatic
#070519 #0B0929 #18135C #251D8F #3228C1

Accessibility & contrast

On white

16.32
#18135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#18135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18135C
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18135C#FFFFFF#000000##FFFFFF
##18135C1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001D5B
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #18135c;
/* rgb */ color: rgb(24, 19, 92);
/* oklch */ color: oklch(25.5% 0.123 276.1);
Tailwind
colors: {
  custom: {
    50: '#61528b',
    500: '#18135c',
    950: '#000000',
  },
}
SCSS
$custom: #18135c;
$custom-light: #61528b;
$custom-dark: #000000;
JSON
{
  "hex": "#18135c",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 244.11,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25496,
    "c": 0.12341,
    "h": 276.1
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#18135C
secondary
#8E9437
accent
#E93FDD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #18135C

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

Preview Lab → · Contrast checker → · Palette generator →

#18135C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva