#183179#183179

#183179 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.127 H 265.5°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#183179
RGBrgb(24, 49, 121)
HSLhsl(225, 67%, 28%)
HSVhsv(225, 80%, 47%)
CMYKcmyk(80.2%, 59.5%, 0%, 52.5%)
CIE-LABlab(22.90, 18.74, -43.81)
CIE-LCHlch(22.90, 47.65, 293.16°)
OKLaboklab(34.22% -0.01 -0.1265)
OKLCHoklch(34.22% 0.127 265.5)
XYZxyz(4.9250, 3.7707, 18.5537)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183179 #796018
analogous
#186179 #183179 #2F1879
triadic
#183179 #791831 #317918
tetradic
#183179 #791861 #796018 #18792F
square
#183179 #791861 #796018 #18792F
split-complementary
#183179 #792F18 #617918
monochromatic
#050A1A #0E1C46 #183179 #2246AC #355ED7

Accessibility & contrast

On white

11.97
#183179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#183179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183179
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183179#FFFFFF#000000##FFFFFF
##1831791.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183179;
/* rgb */ color: rgb(24, 49, 121);
/* oklch */ color: oklch(34.2% 0.127 265.5);
Tailwind
colors: {
  custom: {
    50: '#6668a0',
    500: '#183179',
    950: '#000000',
  },
}
SCSS
$custom: #183179;
$custom-light: #6668a0;
$custom-dark: #000000;
JSON
{
  "hex": "#183179",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 224.536,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34223,
    "c": 0.12687,
    "h": 265.5
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#183179
secondary
#AE913F
accent
#BE3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #183179

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

Preview Lab → · Contrast checker → · Palette generator →

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