#181165#181165

#181165 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.138 H 275.0°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#181165
RGBrgb(24, 17, 101)
HSLhsl(245, 71%, 23%)
HSVhsv(245, 83%, 40%)
CMYKcmyk(76.2%, 83.2%, 0%, 60.4%)
CIE-LABlab(12.83, 32.45, -47.38)
CIE-LCHlch(12.83, 57.42, 304.40°)
OKLaboklab(26.27% 0.012 -0.137)
OKLCHoklch(26.27% 0.138 275)
XYZxyz(2.9253, 1.5344, 12.4514)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181165 #5E6511
analogous
#113465 #181165 #421165
triadic
#181165 #651811 #116518
tetradic
#181165 #651134 #5E6511 #116542
square
#181165 #651134 #5E6511 #116542
split-complementary
#181165 #654211 #346511
monochromatic
#06041A #0C0831 #181165 #241A99 #3123CE

Accessibility & contrast

On white

16.07
#181165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181165
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181165#FFFFFF#000000##FFFFFF
##1811651.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001D64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181165;
/* rgb */ color: rgb(24, 17, 101);
/* oklch */ color: oklch(26.3% 0.138 275.0);
Tailwind
colors: {
  custom: {
    50: '#635192',
    500: '#181165',
    950: '#000000',
  },
}
SCSS
$custom: #181165;
$custom-light: #635192;
$custom-dark: #000000;
JSON
{
  "hex": "#181165",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 245,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26272,
    "c": 0.13754,
    "h": 275
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#181165
secondary
#949D35
accent
#EE3ADF
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181165

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

Preview Lab → · Contrast checker → · Palette generator →

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