#181D60#181D60

#181D60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.117 H 272.7°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#181D60
RGBrgb(24, 29, 96)
HSLhsl(236, 60%, 24%)
HSVhsv(236, 75%, 38%)
CMYKcmyk(75%, 69.8%, 0%, 62.4%)
CIE-LABlab(15.05, 22.90, -40.40)
CIE-LCHlch(15.05, 46.44, 299.54°)
OKLaboklab(27.69% 0.0055 -0.1167)
OKLCHoklch(27.69% 0.117 272.7)
XYZxyz(2.9267, 1.9172, 11.2799)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D60 #605B18
analogous
#184160 #181D60 #371860
triadic
#181D60 #60181D #1D6018
tetradic
#181D60 #601841 #605B18 #186037
square
#181D60 #601841 #605B18 #186037
split-complementary
#181D60 #603718 #416018
monochromatic
#060718 #0C0E2F #181D60 #242C91 #303BC2

Accessibility & contrast

On white

15.18
#181D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D60
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D60#FFFFFF#000000##FFFFFF
##181D601.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181d60;
/* rgb */ color: rgb(24, 29, 96);
/* oklch */ color: oklch(27.7% 0.117 272.7);
Tailwind
colors: {
  custom: {
    50: '#61598e',
    500: '#181d60',
    950: '#000000',
  },
}
SCSS
$custom: #181d60;
$custom-light: #61598e;
$custom-dark: #000000;
JSON
{
  "hex": "#181d60",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 235.833,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27694,
    "c": 0.11685,
    "h": 272.7
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#181D60
secondary
#96903D
accent
#D845E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #181D60

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

Preview Lab → · Contrast checker → · Palette generator →

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