#180F50#180F50

#180F50 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.111 H 279.8°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#180F50
RGBrgb(24, 15, 80)
HSLhsl(248, 68%, 19%)
HSVhsv(248, 81%, 31%)
CMYKcmyk(70%, 81.3%, 0%, 68.6%)
CIE-LABlab(9.91, 26.22, -38.02)
CIE-LCHlch(9.91, 46.19, 304.60°)
OKLaboklab(23.49% 0.0189 -0.1097)
OKLCHoklch(23.49% 0.111 279.8)
XYZxyz(1.9950, 1.1149, 7.6979)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F50 #47500F
analogous
#0F2650 #180F50 #380F50
triadic
#180F50 #50180F #0F5018
tetradic
#180F50 #500F26 #47500F #0F5038
square
#180F50 #500F26 #47500F #0F5038
split-complementary
#180F50 #50380F #26500F
monochromatic
#08051A #09051C #180F50 #271984 #3722B7

Accessibility & contrast

On white

17.17
#180F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#180F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F50
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F50#FFFFFF#000000##FFFFFF
##180F501.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00194F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #180f50;
/* rgb */ color: rgb(24, 15, 80);
/* oklch */ color: oklch(23.5% 0.111 279.8);
Tailwind
colors: {
  custom: {
    50: '#5e4e82',
    500: '#180f50',
    950: '#000000',
  },
}
SCSS
$custom: #180f50;
$custom-light: #5e4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#180f50",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 248.308,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23486,
    "c": 0.11134,
    "h": 279.8
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#180F50
secondary
#7E8A31
accent
#EB3DD3
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #180F50

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

Preview Lab → · Contrast checker → · Palette generator →

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