#182176#182176

#182176 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.143 H 270.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#182176
RGBrgb(24, 33, 118)
HSLhsl(234, 66%, 28%)
HSVhsv(234, 80%, 46%)
CMYKcmyk(79.7%, 72%, 0%, 53.7%)
CIE-LABlab(18.32, 28.70, -49.39)
CIE-LCHlch(18.32, 57.13, 300.16°)
OKLaboklab(30.76% 0.0006 -0.143)
OKLCHoklch(30.76% 0.143 270.2)
XYZxyz(4.1894, 2.5894, 17.4150)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182176 #766D18
analogous
#185076 #182176 #3E1876
triadic
#182176 #761821 #217618
tetradic
#182176 #761850 #766D18 #18763E
square
#182176 #761850 #766D18 #18763E
split-complementary
#182176 #763E18 #507618
monochromatic
#050719 #0E1343 #182176 #222FA9 #3342D5

Accessibility & contrast

On white

13.83
#182176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182176
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182176#FFFFFF#000000##FFFFFF
##1821761.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182176;
/* rgb */ color: rgb(24, 33, 118);
/* oklch */ color: oklch(30.8% 0.143 270.2);
Tailwind
colors: {
  custom: {
    50: '#665c9e',
    500: '#182176',
    950: '#000000',
  },
}
SCSS
$custom: #182176;
$custom-light: #665c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#182176",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 234.255,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30757,
    "c": 0.14298,
    "h": 270.2
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#182176
secondary
#ABA13F
accent
#D93FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182176

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

Preview Lab → · Contrast checker → · Palette generator →

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