#182976#182976

#182976 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.133 H 268.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#182976
RGBrgb(24, 41, 118)
HSLhsl(229, 66%, 28%)
HSVhsv(229, 80%, 46%)
CMYKcmyk(79.7%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.39, 23.19, -45.99)
CIE-LCHlch(20.39, 51.51, 296.76°)
OKLaboklab(32.27% -0.0043 -0.133)
OKLCHoklch(32.27% 0.133 268.1)
XYZxyz(4.4385, 3.0876, 17.4981)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182976 #766518
analogous
#185876 #182976 #361876
triadic
#182976 #761829 #297618
tetradic
#182976 #761858 #766518 #187636
square
#182976 #761858 #766518 #187636
split-complementary
#182976 #763618 #587618
monochromatic
#050919 #0E1743 #182976 #223BA9 #3350D5

Accessibility & contrast

On white

12.98
#182976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182976
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182976#FFFFFF#000000##FFFFFF
##1829761.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182976;
/* rgb */ color: rgb(24, 41, 118);
/* oklch */ color: oklch(32.3% 0.133 268.1);
Tailwind
colors: {
  custom: {
    50: '#66629e',
    500: '#182976',
    950: '#000000',
  },
}
SCSS
$custom: #182976;
$custom-light: #66629e;
$custom-dark: #000000;
JSON
{
  "hex": "#182976",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 229.149,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.13305,
    "h": 268.1
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#182976
secondary
#AB973F
accent
#CA3FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #182976

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

Preview Lab → · Contrast checker → · Palette generator →

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