#181765#181765

#181765 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.131 H 273.9°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#181765
RGBrgb(24, 23, 101)
HSLhsl(241, 63%, 24%)
HSVhsv(241, 77%, 40%)
CMYKcmyk(76.2%, 77.2%, 0%, 60.4%)
CIE-LABlab(14.10, 28.84, -45.28)
CIE-LCHlch(14.10, 53.69, 302.50°)
OKLaboklab(27.17% 0.0088 -0.131)
OKLCHoklch(27.17% 0.131 273.9)
XYZxyz(3.0313, 1.7463, 12.4867)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181765 #646517
analogous
#173D65 #181765 #3F1765
triadic
#181765 #651817 #176518
tetradic
#181765 #65173D #646517 #17653F
square
#181765 #65173D #646517 #17653F
split-complementary
#181765 #653F17 #3D6517
monochromatic
#060619 #0C0C33 #181765 #242297 #302EC9

Accessibility & contrast

On white

15.56
#181765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#181765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181765
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181765#FFFFFF#000000##FFFFFF
##1817651.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181765;
/* rgb */ color: rgb(24, 23, 101);
/* oklch */ color: oklch(27.2% 0.131 273.9);
Tailwind
colors: {
  custom: {
    50: '#635592',
    500: '#181765',
    950: '#000000',
  },
}
SCSS
$custom: #181765;
$custom-light: #635592;
$custom-dark: #000000;
JSON
{
  "hex": "#181765",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 240.769,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27168,
    "c": 0.13127,
    "h": 273.9
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#181765
secondary
#9A9B3C
accent
#E642E4
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181765

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

Preview Lab → · Contrast checker → · Palette generator →

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