#180F53#180F53

#180F53 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.115 H 279.0°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#180F53
RGBrgb(24, 15, 83)
HSLhsl(248, 69%, 19%)
HSVhsv(248, 82%, 33%)
CMYKcmyk(71.1%, 81.9%, 0%, 67.5%)
CIE-LABlab(10.26, 27.29, -39.51)
CIE-LCHlch(10.26, 48.02, 304.64°)
OKLaboklab(23.83% 0.0181 -0.1141)
OKLCHoklch(23.83% 0.115 279)
XYZxyz(2.1083, 1.1602, 8.2948)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F53 #4A530F
analogous
#0F2853 #180F53 #3A0F53
triadic
#180F53 #53180F #0F5318
tetradic
#180F53 #530F28 #4A530F #0F533A
square
#180F53 #530F28 #4A530F #0F533A
split-complementary
#180F53 #533A0F #28530F
monochromatic
#07051A #09061F #180F53 #271887 #3622BB

Accessibility & contrast

On white

17.05
#180F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#180F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F53
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F53#FFFFFF#000000##FFFFFF
##180F531.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F55
Deuteranopia (green-blind)
#001952
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #180f53;
/* rgb */ color: rgb(24, 15, 83);
/* oklch */ color: oklch(23.8% 0.115 279.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f84',
    500: '#180f53',
    950: '#000000',
  },
}
SCSS
$custom: #180f53;
$custom-light: #5f4f84;
$custom-dark: #000000;
JSON
{
  "hex": "#180f53",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 247.941,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23834,
    "c": 0.11549,
    "h": 279
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#180F53
secondary
#818D31
accent
#EC3CD5
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #180F53

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

Preview Lab → · Contrast checker → · Palette generator →

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