#181D63#181D63

#181D63 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.0% C 0.121 H 272.5°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#181D63
RGBrgb(24, 29, 99)
HSLhsl(236, 61%, 24%)
HSVhsv(236, 76%, 39%)
CMYKcmyk(75.8%, 70.7%, 0%, 61.2%)
CIE-LABlab(15.35, 24.07, -41.90)
CIE-LCHlch(15.35, 48.32, 299.88°)
OKLaboklab(28.01% 0.0052 -0.1211)
OKLCHoklch(28.01% 0.121 272.5)
XYZxyz(3.0674, 1.9735, 12.0212)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D63 #635E18
analogous
#184363 #181D63 #391863
triadic
#181D63 #63181D #1D6318
tetradic
#181D63 #631843 #635E18 #186339
square
#181D63 #631843 #635E18 #186339
split-complementary
#181D63 #633918 #436318
monochromatic
#060719 #0C0F32 #181D63 #242B94 #303AC6

Accessibility & contrast

On white

15.06
#181D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181D63
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D63#FFFFFF#000000##FFFFFF
##181D631.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181d63;
/* rgb */ color: rgb(24, 29, 99);
/* oklch */ color: oklch(28.0% 0.121 272.5);
Tailwind
colors: {
  custom: {
    50: '#615990',
    500: '#181d63',
    950: '#000000',
  },
}
SCSS
$custom: #181d63;
$custom-light: #615990;
$custom-dark: #000000;
JSON
{
  "hex": "#181d63",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 236,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28006,
    "c": 0.1212,
    "h": 272.5
  },
  "luminance": 0.01974
}

Semantic roles & 50–950 ramp

primary
#181D63
secondary
#99933E
accent
#D944E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #181D63

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

Preview Lab → · Contrast checker → · Palette generator →

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