#180D63#180D63

#180D63 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.139 H 275.9°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#180D63
RGBrgb(24, 13, 99)
HSLhsl(248, 77%, 22%)
HSVhsv(248, 87%, 39%)
CMYKcmyk(75.8%, 86.9%, 0%, 61.2%)
CIE-LABlab(11.84, 33.90, -47.68)
CIE-LCHlch(11.84, 58.50, 305.41°)
OKLaboklab(25.52% 0.0144 -0.1378)
OKLCHoklch(25.52% 0.139 275.9)
XYZxyz(2.7720, 1.3826, 11.9227)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180D63 #58630D
analogous
#0D2D63 #180D63 #430D63
triadic
#180D63 #63180D #0D6318
tetradic
#180D63 #630D2D #58630D #0D6343
square
#180D63 #630D2D #58630D #0D6343
split-complementary
#180D63 #63430D #2D630D
monochromatic
#07041B #0B062D #180D63 #251499 #321BCF

Accessibility & contrast

On white

16.45
#180D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#180D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180D63
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180D63#FFFFFF#000000##FFFFFF
##180D631.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002365
Deuteranopia (green-blind)
#001B62
Tritanopia (blue-blind)
#002839
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #180d63;
/* rgb */ color: rgb(24, 13, 99);
/* oklch */ color: oklch(25.5% 0.139 275.9);
Tailwind
colors: {
  custom: {
    50: '#634f90',
    500: '#180d63',
    950: '#000000',
  },
}
SCSS
$custom: #180d63;
$custom-light: #634f90;
$custom-dark: #000000;
JSON
{
  "hex": "#180d63",
  "rgb": {
    "r": 24,
    "g": 13,
    "b": 99
  },
  "hsl": {
    "h": 247.674,
    "s": 76.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25515,
    "c": 0.13857,
    "h": 275.9
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#180D63
secondary
#8F9D2F
accent
#F334DB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #180D63

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

Preview Lab → · Contrast checker → · Palette generator →

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