#183974#183974

#183974 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.109 H 261.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#183974
RGBrgb(24, 57, 116)
HSLhsl(218, 66%, 27%)
HSVhsv(218, 79%, 45%)
CMYKcmyk(79.3%, 50.9%, 0%, 54.5%)
CIE-LABlab(24.89, 10.98, -37.41)
CIE-LCHlch(24.89, 38.98, 286.35°)
OKLaboklab(35.61% -0.0171 -0.1075)
OKLCHoklch(35.61% 0.109 261)
XYZxyz(4.9911, 4.3808, 17.1022)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183974 #745318
analogous
#186774 #183974 #251874
triadic
#183974 #741839 #397418
tetradic
#183974 #741867 #745318 #187425
square
#183974 #741867 #745318 #187425
split-complementary
#183974 #742518 #677418
monochromatic
#050C19 #0E2041 #183974 #2252A7 #326CD5

Accessibility & contrast

On white

11.19
#183974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#183974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183974
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183974#FFFFFF#000000##FFFFFF
##1839741.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174076
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183974;
/* rgb */ color: rgb(24, 57, 116);
/* oklch */ color: oklch(35.6% 0.109 261.0);
Tailwind
colors: {
  custom: {
    50: '#646e9c',
    500: '#183974',
    950: '#000000',
  },
}
SCSS
$custom: #183974;
$custom-light: #646e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#183974",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 116
  },
  "hsl": {
    "h": 218.478,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.10882,
    "h": 261
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#183974
secondary
#A9833F
accent
#AC3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183974

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

Preview Lab → · Contrast checker → · Palette generator →

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