#182079#182079

#182079 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.148 H 270.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#182079
RGBrgb(24, 32, 121)
HSLhsl(235, 67%, 28%)
HSVhsv(235, 80%, 47%)
CMYKcmyk(80.2%, 73.6%, 0%, 52.5%)
CIE-LABlab(18.40, 30.49, -51.19)
CIE-LCHlch(18.40, 59.58, 300.78°)
OKLaboklab(30.91% 0.0008 -0.1482)
OKLCHoklch(30.91% 0.148 270.3)
XYZxyz(4.3432, 2.6072, 18.3598)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182079 #797118
analogous
#185079 #182079 #401879
triadic
#182079 #791820 #207918
tetradic
#182079 #791850 #797118 #187940
square
#182079 #791850 #797118 #187940
split-complementary
#182079 #794018 #507918
monochromatic
#05071A #0E1246 #182079 #222EAC #3542D7

Accessibility & contrast

On white

13.80
#182079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182079
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182079#FFFFFF#000000##FFFFFF
##1820791.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182079;
/* rgb */ color: rgb(24, 32, 121);
/* oklch */ color: oklch(30.9% 0.148 270.3);
Tailwind
colors: {
  custom: {
    50: '#675ca1',
    500: '#182079',
    950: '#000000',
  },
}
SCSS
$custom: #182079;
$custom-light: #675ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#182079",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 235.052,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30909,
    "c": 0.14821,
    "h": 270.3
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#182079
secondary
#AEA53F
accent
#DC3EEA
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #182079

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

Preview Lab → · Contrast checker → · Palette generator →

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