#183371#183371

#183371 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.112 H 263.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#183371
RGBrgb(24, 51, 113)
HSLhsl(222, 65%, 27%)
HSVhsv(222, 79%, 44%)
CMYKcmyk(78.8%, 54.9%, 0%, 55.7%)
CIE-LABlab(22.84, 14.01, -38.81)
CIE-LCHlch(22.84, 41.26, 289.85°)
OKLaboklab(33.97% -0.0122 -0.1117)
OKLCHoklch(33.97% 0.112 263.7)
XYZxyz(4.5401, 3.7536, 16.1048)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183371 #715618
analogous
#186071 #183371 #2A1871
triadic
#183371 #711833 #337118
tetradic
#183371 #711860 #715618 #18712A
square
#183371 #711860 #715618 #18712A
split-complementary
#183371 #712A18 #607118
monochromatic
#050B19 #0D1C3F #183371 #234AA3 #3062D3

Accessibility & contrast

On white

11.99
#183371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#183371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183371
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183371#FFFFFF#000000##FFFFFF
##1833711.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B73
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183371;
/* rgb */ color: rgb(24, 51, 113);
/* oklch */ color: oklch(34.0% 0.112 263.7);
Tailwind
colors: {
  custom: {
    50: '#636a9a',
    500: '#183371',
    950: '#000000',
  },
}
SCSS
$custom: #183371;
$custom-light: #636a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#183371",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 221.798,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33974,
    "c": 0.11238,
    "h": 263.7
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#183371
secondary
#A6873E
accent
#B540E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183371

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

Preview Lab → · Contrast checker → · Palette generator →

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