#180F60#180F60

#180F60 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.133 H 276.2°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#180F60
RGBrgb(24, 15, 96)
HSLhsl(247, 73%, 22%)
HSVhsv(247, 84%, 38%)
CMYKcmyk(75%, 84.4%, 0%, 62.4%)
CIE-LABlab(11.82, 31.83, -45.71)
CIE-LCHlch(11.82, 55.70, 304.86°)
OKLaboklab(25.39% 0.0144 -0.1321)
OKLCHoklch(25.39% 0.133 276.2)
XYZxyz(2.6581, 1.3801, 11.1904)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F60 #57600F
analogous
#0F2F60 #180F60 #410F60
triadic
#180F60 #60180F #0F6018
tetradic
#180F60 #600F2F #57600F #0F6041
square
#180F60 #600F2F #57600F #0F6041
split-complementary
#180F60 #60410F #2F600F
monochromatic
#07041A #0B072B #180F60 #251795 #3220CA

Accessibility & contrast

On white

16.46
#180F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#180F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F60
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F60#FFFFFF#000000##FFFFFF
##180F601.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002362
Deuteranopia (green-blind)
#001C5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #180f60;
/* rgb */ color: rgb(24, 15, 96);
/* oklch */ color: oklch(25.4% 0.133 276.2);
Tailwind
colors: {
  custom: {
    50: '#62508e',
    500: '#180f60',
    950: '#000000',
  },
}
SCSS
$custom: #180f60;
$custom-light: #62508e;
$custom-dark: #000000;
JSON
{
  "hex": "#180f60",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 246.667,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25393,
    "c": 0.13291,
    "h": 276.2
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#180F60
secondary
#8E9932
accent
#F038DB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #180F60

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

Preview Lab → · Contrast checker → · Palette generator →

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