#18135E#18135E

#18135E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.126 H 275.8°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#18135E
RGBrgb(24, 19, 94)
HSLhsl(244, 66%, 22%)
HSVhsv(244, 80%, 37%)
CMYKcmyk(74.5%, 79.8%, 0%, 63.1%)
CIE-LABlab(12.40, 28.80, -43.42)
CIE-LCHlch(12.40, 52.10, 303.55°)
OKLaboklab(25.73% 0.0127 -0.1255)
OKLCHoklch(25.73% 0.126 275.8)
XYZxyz(2.6293, 1.4678, 10.7323)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18135E #595E13
analogous
#13345E #18135E #3E135E
triadic
#18135E #5E1813 #135E18
tetradic
#18135E #5E1334 #595E13 #135E3E
square
#18135E #5E1334 #595E13 #135E3E
split-complementary
#18135E #5E3E13 #345E13
monochromatic
#060519 #0B092B #18135E #251D91 #3228C4

Accessibility & contrast

On white

16.23
#18135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18135E
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18135E#FFFFFF#000000##FFFFFF
##18135E1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #18135e;
/* rgb */ color: rgb(24, 19, 94);
/* oklch */ color: oklch(25.7% 0.126 275.8);
Tailwind
colors: {
  custom: {
    50: '#61528d',
    500: '#18135e',
    950: '#000000',
  },
}
SCSS
$custom: #18135e;
$custom-light: #61528d;
$custom-dark: #000000;
JSON
{
  "hex": "#18135e",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 244,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25728,
    "c": 0.12615,
    "h": 275.8
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#18135E
secondary
#909637
accent
#E93FDE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #18135E

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

Preview Lab → · Contrast checker → · Palette generator →

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