#180E62#180E62

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

Color values

HEX#180E62
RGBrgb(24, 14, 98)
HSLhsl(247, 75%, 22%)
HSVhsv(247, 86%, 38%)
CMYKcmyk(75.5%, 85.7%, 0%, 61.6%)
CIE-LABlab(11.89, 33.05, -46.94)
CIE-LCHlch(11.89, 57.41, 305.15°)
OKLaboklab(25.51% 0.0142 -0.1357)
OKLCHoklch(25.51% 0.136 276)
XYZxyz(2.7376, 1.3898, 11.6769)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E62 #58620E
analogous
#0E2E62 #180E62 #420E62
triadic
#180E62 #62180E #0E6218
tetradic
#180E62 #620E2E #58620E #0E6242
square
#180E62 #620E2E #58620E #0E6242
split-complementary
#180E62 #62420E #2E620E
monochromatic
#07041B #0B062C #180E62 #251698 #321DCD

Accessibility & contrast

On white

16.43
#180E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E62
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E62#FFFFFF#000000##FFFFFF
##180E621.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002364
Deuteranopia (green-blind)
#001C61
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #180e62;
/* rgb */ color: rgb(24, 14, 98);
/* oklch */ color: oklch(25.5% 0.136 276.0);
Tailwind
colors: {
  custom: {
    50: '#634f90',
    500: '#180e62',
    950: '#000000',
  },
}
SCSS
$custom: #180e62;
$custom-light: #634f90;
$custom-dark: #000000;
JSON
{
  "hex": "#180e62",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 98
  },
  "hsl": {
    "h": 247.143,
    "s": 75,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25512,
    "c": 0.13642,
    "h": 276
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#180E62
secondary
#8F9B30
accent
#F236DB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #180E62

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

Preview Lab → · Contrast checker → · Palette generator →

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