#183377#183377

#183377 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.5% C 0.121 H 264.5°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#183377
RGBrgb(24, 51, 119)
HSLhsl(223, 66%, 28%)
HSVhsv(223, 80%, 47%)
CMYKcmyk(79.8%, 57.1%, 0%, 53.3%)
CIE-LABlab(23.32, 16.49, -41.87)
CIE-LCHlch(23.32, 45.00, 291.50°)
OKLaboklab(34.49% -0.0117 -0.1207)
OKLCHoklch(34.49% 0.121 264.5)
XYZxyz(4.8891, 3.8932, 17.9430)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183377 #775C18
analogous
#186377 #183377 #2C1877
triadic
#183377 #771833 #337718
tetradic
#183377 #771863 #775C18 #18772C
square
#183377 #771863 #775C18 #18772C
split-complementary
#183377 #772C18 #637718
monochromatic
#050B19 #0E1D44 #183377 #2249AA #3362D6

Accessibility & contrast

On white

11.81
#183377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#183377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183377
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183377#FFFFFF#000000##FFFFFF
##1833771.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183377;
/* rgb */ color: rgb(24, 51, 119);
/* oklch */ color: oklch(34.5% 0.121 264.5);
Tailwind
colors: {
  custom: {
    50: '#656a9f',
    500: '#183377',
    950: '#000000',
  },
}
SCSS
$custom: #183377;
$custom-light: #656a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#183377",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 222.947,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34485,
    "c": 0.12127,
    "h": 264.5
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#183377
secondary
#AC8D3F
accent
#B93EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183377

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

Preview Lab → · Contrast checker → · Palette generator →

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