#183976#183976

#183976 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.112 H 261.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#183976
RGBrgb(24, 57, 118)
HSLhsl(219, 66%, 28%)
HSVhsv(219, 80%, 46%)
CMYKcmyk(79.7%, 51.7%, 0%, 53.7%)
CIE-LABlab(25.04, 11.81, -38.44)
CIE-LCHlch(25.04, 40.21, 287.07°)
OKLaboklab(35.77% -0.0168 -0.1105)
OKLCHoklch(35.77% 0.112 261.4)
XYZxyz(5.1087, 4.4279, 17.7214)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183976 #765518
analogous
#186876 #183976 #261876
triadic
#183976 #761839 #397618
tetradic
#183976 #761868 #765518 #187626
square
#183976 #761868 #765518 #187626
split-complementary
#183976 #762618 #687618
monochromatic
#050C19 #0E2043 #183976 #2252A9 #336CD5

Accessibility & contrast

On white

11.14
#183976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#183976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183976
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183976#FFFFFF#000000##FFFFFF
##1839761.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183976;
/* rgb */ color: rgb(24, 57, 118);
/* oklch */ color: oklch(35.8% 0.112 261.4);
Tailwind
colors: {
  custom: {
    50: '#646e9e',
    500: '#183976',
    950: '#000000',
  },
}
SCSS
$custom: #183976;
$custom-light: #646e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#183976",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 218.936,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3577,
    "c": 0.11179,
    "h": 261.4
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#183976
secondary
#AB853F
accent
#AD3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183976

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

Preview Lab → · Contrast checker → · Palette generator →

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