#182173#182173

#182173 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.139 H 270.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#182173
RGBrgb(24, 33, 115)
HSLhsl(234, 65%, 27%)
HSVhsv(234, 79%, 45%)
CMYKcmyk(79.1%, 71.3%, 0%, 54.9%)
CIE-LABlab(18.01, 27.54, -47.98)
CIE-LCHlch(18.01, 55.32, 299.86°)
OKLaboklab(30.44% 0.0009 -0.1388)
OKLCHoklch(30.44% 0.139 270.4)
XYZxyz(4.0140, 2.5193, 16.4911)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182173 #736A18
analogous
#184F73 #182173 #3D1873
triadic
#182173 #731821 #217318
tetradic
#182173 #73184F #736A18 #18733D
square
#182173 #73184F #736A18 #18733D
split-complementary
#182173 #733D18 #4F7318
monochromatic
#050719 #0D1240 #182173 #2330A6 #3141D4

Accessibility & contrast

On white

13.96
#182173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#182173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182173
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182173#FFFFFF#000000##FFFFFF
##1821731.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182173;
/* rgb */ color: rgb(24, 33, 115);
/* oklch */ color: oklch(30.4% 0.139 270.4);
Tailwind
colors: {
  custom: {
    50: '#655c9c',
    500: '#182173',
    950: '#000000',
  },
}
SCSS
$custom: #182173;
$custom-light: #655c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#182173",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 234.066,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30435,
    "c": 0.13885,
    "h": 270.4
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#182173
secondary
#A89E3F
accent
#D83FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182173

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

Preview Lab → · Contrast checker → · Palette generator →

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