#181D61#181D61

#181D61 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.8% C 0.118 H 272.6°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#181D61
RGBrgb(24, 29, 97)
HSLhsl(236, 60%, 24%)
HSVhsv(236, 75%, 38%)
CMYKcmyk(75.3%, 70.1%, 0%, 62%)
CIE-LABlab(15.15, 23.29, -40.90)
CIE-LCHlch(15.15, 47.07, 299.66°)
OKLaboklab(27.8% 0.0054 -0.1182)
OKLCHoklch(27.8% 0.118 272.6)
XYZxyz(2.9730, 1.9357, 11.5239)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D61 #615C18
analogous
#184161 #181D61 #371861
triadic
#181D61 #61181D #1D6118
tetradic
#181D61 #611841 #615C18 #186137
square
#181D61 #611841 #615C18 #186137
split-complementary
#181D61 #613718 #416118
monochromatic
#060719 #0C0E30 #181D61 #242C92 #303AC3

Accessibility & contrast

On white

15.14
#181D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#181D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D61
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D61#FFFFFF#000000##FFFFFF
##181D611.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002360
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181d61;
/* rgb */ color: rgb(24, 29, 97);
/* oklch */ color: oklch(27.8% 0.118 272.6);
Tailwind
colors: {
  custom: {
    50: '#61598f',
    500: '#181d61',
    950: '#000000',
  },
}
SCSS
$custom: #181d61;
$custom-light: #61598f;
$custom-dark: #000000;
JSON
{
  "hex": "#181d61",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 235.89,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27797,
    "c": 0.1183,
    "h": 272.6
  },
  "luminance": 0.01936
}

Semantic roles & 50–950 ramp

primary
#181D61
secondary
#97913D
accent
#D944E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #181D61

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

Preview Lab → · Contrast checker → · Palette generator →

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