#183373#183373

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

Color values

HEX#183373
RGBrgb(24, 51, 115)
HSLhsl(222, 65%, 27%)
HSVhsv(222, 79%, 45%)
CMYKcmyk(79.1%, 55.7%, 0%, 54.9%)
CIE-LABlab(23.00, 14.84, -39.83)
CIE-LCHlch(23.00, 42.51, 290.43°)
OKLaboklab(34.14% -0.012 -0.1147)
OKLCHoklch(34.14% 0.115 264)
XYZxyz(4.6539, 3.7991, 16.7044)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183373 #735818
analogous
#186173 #183373 #2B1873
triadic
#183373 #731833 #337318
tetradic
#183373 #731861 #735818 #18732B
square
#183373 #731861 #735818 #18732B
split-complementary
#183373 #732B18 #617318
monochromatic
#050B19 #0D1D40 #183373 #2349A6 #3162D4

Accessibility & contrast

On white

11.93
#183373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183373
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183373#FFFFFF#000000##FFFFFF
##1833731.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B75
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183373;
/* rgb */ color: rgb(24, 51, 115);
/* oklch */ color: oklch(34.1% 0.115 264.0);
Tailwind
colors: {
  custom: {
    50: '#646a9c',
    500: '#183373',
    950: '#000000',
  },
}
SCSS
$custom: #183373;
$custom-light: #646a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#183373",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 222.198,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34142,
    "c": 0.11536,
    "h": 264
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#183373
secondary
#A8893F
accent
#B63FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183373

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

Preview Lab → · Contrast checker → · Palette generator →

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