#183372#183372

#183372 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.114 H 263.9°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#183372
RGBrgb(24, 51, 114)
HSLhsl(222, 65%, 27%)
HSVhsv(222, 79%, 45%)
CMYKcmyk(78.9%, 55.3%, 0%, 55.3%)
CIE-LABlab(22.92, 14.42, -39.32)
CIE-LCHlch(22.92, 41.88, 290.14°)
OKLaboklab(34.06% -0.0121 -0.1132)
OKLCHoklch(34.06% 0.114 263.9)
XYZxyz(4.5967, 3.7762, 16.4030)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183372 #725718
analogous
#186072 #183372 #2A1872
triadic
#183372 #721833 #337218
tetradic
#183372 #721860 #725718 #18722A
square
#183372 #721860 #725718 #18722A
split-complementary
#183372 #722A18 #607218
monochromatic
#050B19 #0D1C3F #183372 #234AA5 #3162D4

Accessibility & contrast

On white

11.96
#183372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#183372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183372
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183372#FFFFFF#000000##FFFFFF
##1833721.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183372;
/* rgb */ color: rgb(24, 51, 114);
/* oklch */ color: oklch(34.1% 0.114 263.9);
Tailwind
colors: {
  custom: {
    50: '#646a9b',
    500: '#183372',
    950: '#000000',
  },
}
SCSS
$custom: #183372;
$custom-light: #646a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#183372",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 222,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34058,
    "c": 0.11388,
    "h": 263.9
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#183372
secondary
#A7883E
accent
#B640E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183372

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

Preview Lab → · Contrast checker → · Palette generator →

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