#183772#183772

#183772 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.108 H 261.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#183772
RGBrgb(24, 55, 114)
HSLhsl(219, 65%, 27%)
HSVhsv(219, 79%, 45%)
CMYKcmyk(78.9%, 51.8%, 0%, 55.3%)
CIE-LABlab(24.13, 11.56, -37.36)
CIE-LCHlch(24.13, 39.11, 287.20°)
OKLaboklab(34.98% -0.0156 -0.1074)
OKLCHoklch(34.98% 0.109 261.7)
XYZxyz(4.7790, 4.1409, 16.4637)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183772 #725318
analogous
#186472 #183772 #261872
triadic
#183772 #721837 #377218
tetradic
#183772 #721864 #725318 #187226
square
#183772 #721864 #725318 #187226
split-complementary
#183772 #722618 #647218
monochromatic
#050C19 #0D1F3F #183772 #234FA5 #3169D4

Accessibility & contrast

On white

11.49
#183772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#183772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183772
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183772#FFFFFF#000000##FFFFFF
##1837721.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E74
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183772;
/* rgb */ color: rgb(24, 55, 114);
/* oklch */ color: oklch(35.0% 0.108 261.7);
Tailwind
colors: {
  custom: {
    50: '#636d9b',
    500: '#183772',
    950: '#000000',
  },
}
SCSS
$custom: #183772;
$custom-light: #636d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#183772",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 219.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34983,
    "c": 0.1085,
    "h": 261.7
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#183772
secondary
#A7833E
accent
#AE40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183772

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

Preview Lab → · Contrast checker → · Palette generator →

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