#180D58#180D58

#180D58 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.124 H 278.3°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#180D58
RGBrgb(24, 13, 88)
HSLhsl(249, 74%, 20%)
HSVhsv(249, 85%, 35%)
CMYKcmyk(72.7%, 85.2%, 0%, 65.5%)
CIE-LABlab(10.46, 30.20, -42.59)
CIE-LCHlch(10.46, 52.21, 305.34°)
OKLaboklab(24.15% 0.0178 -0.123)
OKLCHoklch(24.15% 0.124 278.3)
XYZxyz(2.2815, 1.1864, 9.3394)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180D58 #4D580D
analogous
#0D2858 #180D58 #3E0D58
triadic
#180D58 #58180D #0D5818
tetradic
#180D58 #580D28 #4D580D #0D583E
square
#180D58 #580D28 #4D580D #0D583E
split-complementary
#180D58 #583E0D #28580D
monochromatic
#07041B #090523 #180D58 #27158D #351DC3

Accessibility & contrast

On white

16.97
#180D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180D58
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180D58#FFFFFF#000000##FFFFFF
##180D581.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F5A
Deuteranopia (green-blind)
#001957
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #180d58;
/* rgb */ color: rgb(24, 13, 88);
/* oklch */ color: oklch(24.1% 0.124 278.3);
Tailwind
colors: {
  custom: {
    50: '#604e88',
    500: '#180d58',
    950: '#000000',
  },
}
SCSS
$custom: #180d58;
$custom-light: #604e88;
$custom-dark: #000000;
JSON
{
  "hex": "#180d58",
  "rgb": {
    "r": 24,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 248.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2415,
    "c": 0.12431,
    "h": 278.3
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#180D58
secondary
#84932E
accent
#F137D6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010B
muted
#7A777C

Preview Lab

Preview with #180D58

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

Preview Lab → · Contrast checker → · Palette generator →

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