#183876#183876

#183876 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.113 H 261.9°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#183876
RGBrgb(24, 56, 118)
HSLhsl(220, 66%, 28%)
HSVhsv(220, 80%, 46%)
CMYKcmyk(79.7%, 52.5%, 0%, 53.7%)
CIE-LABlab(24.73, 12.51, -38.93)
CIE-LCHlch(24.73, 40.89, 287.82°)
OKLaboklab(35.54% -0.0159 -0.112)
OKLCHoklch(35.54% 0.113 261.9)
XYZxyz(5.0597, 4.3300, 17.7051)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183876 #765618
analogous
#186776 #183876 #271876
triadic
#183876 #761838 #387618
tetradic
#183876 #761867 #765618 #187627
square
#183876 #761867 #765618 #187627
split-complementary
#183876 #762718 #677618
monochromatic
#050C19 #0E2043 #183876 #2250A9 #336AD5

Accessibility & contrast

On white

11.25
#183876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#183876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183876
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183876#FFFFFF#000000##FFFFFF
##1838761.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F78
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183876;
/* rgb */ color: rgb(24, 56, 118);
/* oklch */ color: oklch(35.5% 0.113 261.9);
Tailwind
colors: {
  custom: {
    50: '#646e9e',
    500: '#183876',
    950: '#000000',
  },
}
SCSS
$custom: #183876;
$custom-light: #646e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#183876",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 219.574,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.11312,
    "h": 261.9
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#183876
secondary
#AB863F
accent
#AF3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183876

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

Preview Lab → · Contrast checker → · Palette generator →

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