#18135D#18135D

#18135D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.125 H 276.0°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#18135D
RGBrgb(24, 19, 93)
HSLhsl(244, 66%, 22%)
HSVhsv(244, 80%, 36%)
CMYKcmyk(74.2%, 79.6%, 0%, 63.5%)
CIE-LABlab(12.29, 28.43, -42.94)
CIE-LCHlch(12.29, 51.50, 303.51°)
OKLaboklab(25.61% 0.0129 -0.1241)
OKLCHoklch(25.61% 0.125 276)
XYZxyz(2.5847, 1.4500, 10.4975)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18135D #585D13
analogous
#13335D #18135D #3D135D
triadic
#18135D #5D1813 #135D18
tetradic
#18135D #5D1333 #585D13 #135D3D
square
#18135D #5D1333 #585D13 #135D3D
split-complementary
#18135D #5D3D13 #335D13
monochromatic
#070519 #0B092A #18135D #251D90 #3228C3

Accessibility & contrast

On white

16.28
#18135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18135D
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18135D#FFFFFF#000000##FFFFFF
##18135D1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #18135d;
/* rgb */ color: rgb(24, 19, 93);
/* oklch */ color: oklch(25.6% 0.125 276.0);
Tailwind
colors: {
  custom: {
    50: '#61528c',
    500: '#18135d',
    950: '#000000',
  },
}
SCSS
$custom: #18135d;
$custom-light: #61528c;
$custom-dark: #000000;
JSON
{
  "hex": "#18135d",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 244.054,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25612,
    "c": 0.12478,
    "h": 276
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#18135D
secondary
#8F9537
accent
#E93FDE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #18135D

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

Preview Lab → · Contrast checker → · Palette generator →

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