#181A60#181A60

#181A60 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.1% C 0.121 H 273.7°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#181A60
RGBrgb(24, 26, 96)
HSLhsl(238, 60%, 24%)
HSVhsv(238, 75%, 38%)
CMYKcmyk(75%, 72.9%, 0%, 62.4%)
CIE-LABlab(14.27, 24.98, -41.67)
CIE-LCHlch(14.27, 48.59, 300.94°)
OKLaboklab(27.13% 0.0077 -0.1204)
OKLCHoklch(27.13% 0.121 273.7)
XYZxyz(2.8567, 1.7772, 11.2566)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A60 #605E18
analogous
#183E60 #181A60 #3A1860
triadic
#181A60 #60181A #1A6018
tetradic
#181A60 #60183E #605E18 #18603A
square
#181A60 #60183E #605E18 #18603A
split-complementary
#181A60 #603A18 #3E6018
monochromatic
#060718 #0C0D2F #181A60 #242791 #3035C2

Accessibility & contrast

On white

15.49
#181A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#181A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A60
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A60#FFFFFF#000000##FFFFFF
##181A601.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00215F
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181a60;
/* rgb */ color: rgb(24, 26, 96);
/* oklch */ color: oklch(27.1% 0.121 273.7);
Tailwind
colors: {
  custom: {
    50: '#61578e',
    500: '#181a60',
    950: '#000000',
  },
}
SCSS
$custom: #181a60;
$custom-light: #61578e;
$custom-dark: #000000;
JSON
{
  "hex": "#181a60",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 238.333,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27131,
    "c": 0.1207,
    "h": 273.7
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#181A60
secondary
#96943D
accent
#DF45E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #181A60

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

Preview Lab → · Contrast checker → · Palette generator →

#181A60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva