#180C5B#180C5B

#180C5B is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.4% C 0.129 H 277.7°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#180C5B
RGBrgb(24, 12, 91)
HSLhsl(249, 77%, 20%)
HSVhsv(249, 87%, 36%)
CMYKcmyk(73.6%, 86.8%, 0%, 64.3%)
CIE-LABlab(10.65, 31.74, -44.30)
CIE-LCHlch(10.65, 54.50, 305.62°)
OKLaboklab(24.39% 0.0174 -0.128)
OKLCHoklch(24.39% 0.129 277.7)
XYZxyz(2.3959, 1.2123, 10.0032)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180C5B #4F5B0C
analogous
#0C275B #180C5B #3F0C5B
triadic
#180C5B #5B180C #0C5B18
tetradic
#180C5B #5B0C27 #4F5B0C #0C5B3F
square
#180C5B #5B0C27 #4F5B0C #0C5B3F
split-complementary
#180C5B #5B3F0C #275B0C
monochromatic
#07041B #0A0525 #180C5B #261391 #351AC7

Accessibility & contrast

On white

16.90
#180C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#180C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180C5B
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180C5B#FFFFFF#000000##FFFFFF
##180C5B1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205D
Deuteranopia (green-blind)
#00195A
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #180c5b;
/* rgb */ color: rgb(24, 12, 91);
/* oklch */ color: oklch(24.4% 0.129 277.7);
Tailwind
colors: {
  custom: {
    50: '#614e8a',
    500: '#180c5b',
    950: '#000000',
  },
}
SCSS
$custom: #180c5b;
$custom-light: #614e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#180c5b",
  "rgb": {
    "r": 24,
    "g": 12,
    "b": 91
  },
  "hsl": {
    "h": 249.114,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24392,
    "c": 0.12917,
    "h": 277.7
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#180C5B
secondary
#86962D
accent
#F335D6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06010C
muted
#7A777D

Preview Lab

Preview with #180C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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