#181760#181760

#181760 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.6% C 0.124 H 274.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#181760
RGBrgb(24, 23, 96)
HSLhsl(241, 61%, 23%)
HSVhsv(241, 76%, 38%)
CMYKcmyk(75%, 76%, 0%, 62.4%)
CIE-LABlab(13.54, 26.98, -42.88)
CIE-LCHlch(13.54, 50.66, 302.18°)
OKLaboklab(26.6% 0.0098 -0.124)
OKLCHoklch(26.6% 0.124 274.5)
XYZxyz(2.7937, 1.6512, 11.2356)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181760 #5F6017
analogous
#173A60 #181760 #3C1760
triadic
#181760 #601817 #176018
tetradic
#181760 #60173A #5F6017 #17603C
square
#181760 #60173A #5F6017 #17603C
split-complementary
#181760 #603C17 #3A6017
monochromatic
#060619 #0C0B2F #181760 #242391 #312FC3

Accessibility & contrast

On white

15.78
#181760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#181760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181760
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181760#FFFFFF#000000##FFFFFF
##1817601.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181760;
/* rgb */ color: rgb(24, 23, 96);
/* oklch */ color: oklch(26.6% 0.124 274.5);
Tailwind
colors: {
  custom: {
    50: '#61558e',
    500: '#181760',
    950: '#000000',
  },
}
SCSS
$custom: #181760;
$custom-light: #61558e;
$custom-dark: #000000;
JSON
{
  "hex": "#181760",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 240.822,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26604,
    "c": 0.12434,
    "h": 274.5
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#181760
secondary
#95973C
accent
#E443E2
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #181760

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

Preview Lab → · Contrast checker → · Palette generator →

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