#183972#183972

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

Color values

HEX#183972
RGBrgb(24, 57, 114)
HSLhsl(218, 65%, 27%)
HSVhsv(218, 79%, 45%)
CMYKcmyk(78.9%, 50%, 0%, 55.3%)
CIE-LABlab(24.75, 10.14, -36.36)
CIE-LCHlch(24.75, 37.75, 285.59°)
OKLaboklab(35.46% -0.0174 -0.1044)
OKLCHoklch(35.46% 0.106 260.5)
XYZxyz(4.8760, 4.3348, 16.4960)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183972 #725118
analogous
#186672 #183972 #241872
triadic
#183972 #721839 #397218
tetradic
#183972 #721866 #725118 #187224
square
#183972 #721866 #725118 #187224
split-complementary
#183972 #722418 #667218
monochromatic
#050D19 #0D203F #183972 #2352A5 #316CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##183972#FFFFFF#000000##FFFFFF
##1839721.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)
#193F74
Deuteranopia (green-blind)
#013771
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183972;
/* rgb */ color: rgb(24, 57, 114);
/* oklch */ color: oklch(35.5% 0.106 260.5);
Tailwind
colors: {
  custom: {
    50: '#636e9b',
    500: '#183972',
    950: '#000000',
  },
}
SCSS
$custom: #183972;
$custom-light: #636e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#183972",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 218,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35456,
    "c": 0.10585,
    "h": 260.5
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#183972
secondary
#A7813E
accent
#AA40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183972

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

Preview Lab → · Contrast checker → · Palette generator →

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