#180F58#180F58

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

Color values

HEX#180F58
RGBrgb(24, 15, 88)
HSLhsl(247, 71%, 20%)
HSVhsv(247, 83%, 35%)
CMYKcmyk(72.7%, 83%, 0%, 65.5%)
CIE-LABlab(10.85, 29.06, -41.94)
CIE-LCHlch(10.85, 51.02, 304.72°)
OKLaboklab(24.43% 0.0167 -0.1211)
OKLCHoklch(24.43% 0.122 277.8)
XYZxyz(2.3084, 1.2402, 9.3484)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F58 #4F580F
analogous
#0F2B58 #180F58 #3C0F58
triadic
#180F58 #58180F #0F5818
tetradic
#180F58 #580F2B #4F580F #0F583C
square
#180F58 #580F2B #4F580F #0F583C
split-complementary
#180F58 #583C0F #2B580F
monochromatic
#07041A #0A0624 #180F58 #26188C #3521C1

Accessibility & contrast

On white

16.83
#180F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#180F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F58
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F58#FFFFFF#000000##FFFFFF
##180F581.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001A57
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #180f58;
/* rgb */ color: rgb(24, 15, 88);
/* oklch */ color: oklch(24.4% 0.122 277.8);
Tailwind
colors: {
  custom: {
    50: '#604f88',
    500: '#180f58',
    950: '#000000',
  },
}
SCSS
$custom: #180f58;
$custom-light: #604f88;
$custom-dark: #000000;
JSON
{
  "hex": "#180f58",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 247.397,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24425,
    "c": 0.12229,
    "h": 277.8
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#180F58
secondary
#869231
accent
#EE3AD8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #180F58

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

Preview Lab → · Contrast checker → · Palette generator →

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