#180F70#180F70

#180F70 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.153 H 273.6°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#180F70
RGBrgb(24, 15, 112)
HSLhsl(246, 76%, 25%)
HSVhsv(246, 87%, 44%)
CMYKcmyk(78.6%, 86.6%, 0%, 56.1%)
CIE-LABlab(13.86, 37.19, -52.89)
CIE-LCHlch(13.86, 64.66, 305.12°)
OKLaboklab(27.39% 0.0097 -0.153)
OKLCHoklch(27.39% 0.153 273.6)
XYZxyz(3.4712, 1.7053, 15.4723)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F70 #67700F
analogous
#0F3770 #180F70 #490F70
triadic
#180F70 #70180F #0F7018
tetradic
#180F70 #700F37 #67700F #0F7049
square
#180F70 #700F37 #67700F #0F7049
split-complementary
#180F70 #70490F #37700F
monochromatic
#06041B #0C083A #180F70 #2416A6 #2F1DDC

Accessibility & contrast

On white

15.66
#180F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#180F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F70
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F70#FFFFFF#000000##FFFFFF
##180F701.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#001F6E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #180f70;
/* rgb */ color: rgb(24, 15, 112);
/* oklch */ color: oklch(27.4% 0.153 273.6);
Tailwind
colors: {
  custom: {
    50: '#67519a',
    500: '#180f70',
    950: '#000000',
  },
}
SCSS
$custom: #180f70;
$custom-light: #67519a;
$custom-dark: #000000;
JSON
{
  "hex": "#180f70",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 245.567,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27394,
    "c": 0.15327,
    "h": 273.6
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#180F70
secondary
#9DA833
accent
#F335E1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #180F70

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

Preview Lab → · Contrast checker → · Palette generator →

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