#18135F#18135F

#18135F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.128 H 275.6°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#18135F
RGBrgb(24, 19, 95)
HSLhsl(244, 67%, 22%)
HSVhsv(244, 80%, 37%)
CMYKcmyk(74.7%, 80%, 0%, 62.7%)
CIE-LABlab(12.52, 29.15, -43.89)
CIE-LCHlch(12.52, 52.69, 303.59°)
OKLaboklab(25.85% 0.0125 -0.1269)
OKLCHoklch(25.85% 0.128 275.6)
XYZxyz(2.6744, 1.4859, 10.9701)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18135F #5A5F13
analogous
#13345F #18135F #3E135F
triadic
#18135F #5F1813 #135F18
tetradic
#18135F #5F1334 #5A5F13 #135F3E
square
#18135F #5F1334 #5A5F13 #135F3E
split-complementary
#18135F #5F3E13 #345F13
monochromatic
#06051A #0B092C #18135F #251D92 #3227C5

Accessibility & contrast

On white

16.19
#18135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#18135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18135F
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18135F#FFFFFF#000000##FFFFFF
##18135F1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #18135f;
/* rgb */ color: rgb(24, 19, 95);
/* oklch */ color: oklch(25.8% 0.128 275.6);
Tailwind
colors: {
  custom: {
    50: '#62528d',
    500: '#18135f',
    950: '#000000',
  },
}
SCSS
$custom: #18135f;
$custom-light: #62528d;
$custom-dark: #000000;
JSON
{
  "hex": "#18135f",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 243.947,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25845,
    "c": 0.12751,
    "h": 275.6
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#18135F
secondary
#919737
accent
#EA3EDE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #18135F

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

Preview Lab → · Contrast checker → · Palette generator →

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