#182780#182780

#182780 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.149 H 268.6°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#182780
RGBrgb(24, 39, 128)
HSLhsl(231, 68%, 30%)
HSVhsv(231, 81%, 50%)
CMYKcmyk(81.3%, 69.5%, 0%, 49.8%)
CIE-LABlab(20.84, 28.52, -51.62)
CIE-LCHlch(20.84, 58.97, 298.92°)
OKLaboklab(32.9% -0.0036 -0.1495)
OKLCHoklch(32.9% 0.15 268.6)
XYZxyz(4.9971, 3.2032, 20.7728)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182780 #807118
analogous
#185B80 #182780 #3D1880
triadic
#182780 #801827 #278018
tetradic
#182780 #80185B #807118 #18803D
square
#182780 #80185B #807118 #18803D
split-complementary
#182780 #803D18 #5B8018
monochromatic
#05081A #0E174C #182780 #2237B4 #3950DA

Accessibility & contrast

On white

12.80
#182780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182780
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182780#FFFFFF#000000##FFFFFF
##1827801.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182780;
/* rgb */ color: rgb(24, 39, 128);
/* oklch */ color: oklch(32.9% 0.149 268.6);
Tailwind
colors: {
  custom: {
    50: '#6861a6',
    500: '#182780',
    950: '#000000',
  },
}
SCSS
$custom: #182780;
$custom-light: #6861a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182780",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 231.346,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32899,
    "c": 0.1495,
    "h": 268.6
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#182780
secondary
#B4A340
accent
#D23DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182780

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

Preview Lab → · Contrast checker → · Palette generator →

#182780 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva