#180E56#180E56

#180E56 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.0% C 0.121 H 278.5°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#180E56
RGBrgb(24, 14, 86)
HSLhsl(248, 72%, 20%)
HSVhsv(248, 84%, 34%)
CMYKcmyk(72.1%, 83.7%, 0%, 66.3%)
CIE-LABlab(10.41, 28.94, -41.31)
CIE-LCHlch(10.41, 50.44, 305.02°)
OKLaboklab(24.04% 0.0179 -0.1193)
OKLCHoklch(24.04% 0.121 278.5)
XYZxyz(2.2129, 1.1800, 8.9134)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E56 #4C560E
analogous
#0E2856 #180E56 #3C0E56
triadic
#180E56 #56180E #0E5618
tetradic
#180E56 #560E28 #4C560E #0E563C
square
#180E56 #560E28 #4C560E #0E563C
split-complementary
#180E56 #563C0E #28560E
monochromatic
#07041A #090521 #180E56 #27178B #351FBF

Accessibility & contrast

On white

16.99
#180E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E56
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E56#FFFFFF#000000##FFFFFF
##180E561.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #180e56;
/* rgb */ color: rgb(24, 14, 86);
/* oklch */ color: oklch(24.0% 0.121 278.5);
Tailwind
colors: {
  custom: {
    50: '#604e87',
    500: '#180e56',
    950: '#000000',
  },
}
SCSS
$custom: #180e56;
$custom-light: #604e87;
$custom-dark: #000000;
JSON
{
  "hex": "#180e56",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 248.333,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24044,
    "c": 0.12064,
    "h": 278.5
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#180E56
secondary
#839030
accent
#EF39D5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #180E56

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

Preview Lab → · Contrast checker → · Palette generator →

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