#181762#181762

#181762 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.127 H 274.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#181762
RGBrgb(24, 23, 98)
HSLhsl(241, 62%, 24%)
HSVhsv(241, 77%, 38%)
CMYKcmyk(75.5%, 76.5%, 0%, 61.6%)
CIE-LABlab(13.76, 27.73, -43.85)
CIE-LCHlch(13.76, 51.88, 302.31°)
OKLaboklab(26.83% 0.0094 -0.1268)
OKLCHoklch(26.83% 0.127 274.2)
XYZxyz(2.8870, 1.6885, 11.7267)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181762 #616217
analogous
#173B62 #181762 #3D1762
triadic
#181762 #621817 #176218
tetradic
#181762 #62173B #616217 #17623D
square
#181762 #62173B #616217 #17623D
split-complementary
#181762 #623D17 #3B6217
monochromatic
#060619 #0C0B30 #181762 #242394 #302EC5

Accessibility & contrast

On white

15.70
#181762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#181762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181762
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181762#FFFFFF#000000##FFFFFF
##1817621.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002764
Deuteranopia (green-blind)
#002061
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181762;
/* rgb */ color: rgb(24, 23, 98);
/* oklch */ color: oklch(26.8% 0.127 274.2);
Tailwind
colors: {
  custom: {
    50: '#625590',
    500: '#181762',
    950: '#000000',
  },
}
SCSS
$custom: #181762;
$custom-light: #625590;
$custom-dark: #000000;
JSON
{
  "hex": "#181762",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 98
  },
  "hsl": {
    "h": 240.8,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26829,
    "c": 0.12713,
    "h": 274.2
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181762

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

Preview Lab → · Contrast checker → · Palette generator →

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