#181755#181755

#181755 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.109 H 276.1°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#181755
RGBrgb(24, 23, 85)
HSLhsl(241, 57%, 21%)
HSVhsv(241, 73%, 33%)
CMYKcmyk(71.8%, 72.9%, 0%, 66.7%)
CIE-LABlab(12.37, 22.81, -37.40)
CIE-LCHlch(12.37, 43.81, 301.37°)
OKLaboklab(25.41% 0.0115 -0.108)
OKLCHoklch(25.41% 0.109 276.1)
XYZxyz(2.3222, 1.4627, 8.7525)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181755 #545517
analogous
#173555 #181755 #371755
triadic
#181755 #551817 #175518
tetradic
#181755 #551735 #545517 #175537
square
#181755 #551735 #545517 #175537
split-complementary
#181755 #553717 #355517
monochromatic
#070718 #0A0A25 #181755 #262485 #3331B5

Accessibility & contrast

On white

16.25
#181755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181755 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181755
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181755#FFFFFF#000000##FFFFFF
##1817551.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181755;
/* rgb */ color: rgb(24, 23, 85);
/* oklch */ color: oklch(25.4% 0.109 276.1);
Tailwind
colors: {
  custom: {
    50: '#5e5486',
    500: '#181755',
    950: '#000000',
  },
}
SCSS
$custom: #181755;
$custom-light: #5e5486;
$custom-dark: #000000;
JSON
{
  "hex": "#181755",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 85
  },
  "hsl": {
    "h": 240.968,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25407,
    "c": 0.10857,
    "h": 276.1
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#181755
secondary
#8B8C3C
accent
#E147DE
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181755

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

Preview Lab → · Contrast checker → · Palette generator →

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