#180E63#180E63

#180E63 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.138 H 275.8°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#180E63
RGBrgb(24, 14, 99)
HSLhsl(247, 75%, 22%)
HSVhsv(247, 86%, 39%)
CMYKcmyk(75.8%, 85.9%, 0%, 61.2%)
CIE-LABlab(12.02, 33.39, -47.39)
CIE-LCHlch(12.02, 57.97, 305.16°)
OKLaboklab(25.64% 0.0139 -0.137)
OKLCHoklch(25.64% 0.138 275.8)
XYZxyz(2.7851, 1.4089, 11.9271)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E63 #59630E
analogous
#0E2F63 #180E63 #430E63
triadic
#180E63 #63180E #0E6318
tetradic
#180E63 #630E2F #59630E #0E6343
square
#180E63 #630E2F #59630E #0E6343
split-complementary
#180E63 #63430E #2F630E
monochromatic
#06041B #0B062D #180E63 #251699 #321DCE

Accessibility & contrast

On white

16.38
#180E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E63
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E63#FFFFFF#000000##FFFFFF
##180E631.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002365
Deuteranopia (green-blind)
#001C62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #180e63;
/* rgb */ color: rgb(24, 14, 99);
/* oklch */ color: oklch(25.6% 0.138 275.8);
Tailwind
colors: {
  custom: {
    50: '#634f90',
    500: '#180e63',
    950: '#000000',
  },
}
SCSS
$custom: #180e63;
$custom-light: #634f90;
$custom-dark: #000000;
JSON
{
  "hex": "#180e63",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 99
  },
  "hsl": {
    "h": 247.059,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25636,
    "c": 0.13771,
    "h": 275.8
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#180E63
secondary
#909C30
accent
#F236DC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #180E63

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

Preview Lab → · Contrast checker → · Palette generator →

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