#181761#181761

#181761 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.126 H 274.4°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#181761
RGBrgb(24, 23, 97)
HSLhsl(241, 62%, 24%)
HSVhsv(241, 76%, 38%)
CMYKcmyk(75.3%, 76.3%, 0%, 62%)
CIE-LABlab(13.65, 27.36, -43.36)
CIE-LCHlch(13.65, 51.27, 302.25°)
OKLaboklab(26.72% 0.0096 -0.1254)
OKLCHoklch(26.72% 0.126 274.4)
XYZxyz(2.8400, 1.6698, 11.4796)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181761 #606117
analogous
#173B61 #181761 #3D1761
triadic
#181761 #611817 #176118
tetradic
#181761 #61173B #606117 #17613D
square
#181761 #61173B #606117 #17613D
split-complementary
#181761 #613D17 #3B6117
monochromatic
#060619 #0C0B30 #181761 #242392 #302EC4

Accessibility & contrast

On white

15.74
#181761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181761
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181761#FFFFFF#000000##FFFFFF
##1817611.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002663
Deuteranopia (green-blind)
#001F60
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181761;
/* rgb */ color: rgb(24, 23, 97);
/* oklch */ color: oklch(26.7% 0.126 274.4);
Tailwind
colors: {
  custom: {
    50: '#62558f',
    500: '#181761',
    950: '#000000',
  },
}
SCSS
$custom: #181761;
$custom-light: #62558f;
$custom-dark: #000000;
JSON
{
  "hex": "#181761",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 240.811,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26716,
    "c": 0.12575,
    "h": 274.4
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#181761
secondary
#96983C
accent
#E543E3
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #181761

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

Preview Lab → · Contrast checker → · Palette generator →

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