#183374#183374

#183374 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.117 H 264.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#183374
RGBrgb(24, 51, 116)
HSLhsl(222, 66%, 27%)
HSVhsv(222, 79%, 45%)
CMYKcmyk(79.3%, 56%, 0%, 54.5%)
CIE-LABlab(23.08, 15.25, -40.34)
CIE-LCHlch(23.08, 43.13, 290.71°)
OKLaboklab(34.23% -0.0119 -0.1162)
OKLCHoklch(34.23% 0.117 264.1)
XYZxyz(4.7118, 3.8223, 17.0091)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183374 #745918
analogous
#186174 #183374 #2B1874
triadic
#183374 #741833 #337418
tetradic
#183374 #741861 #745918 #18742B
square
#183374 #741861 #745918 #18742B
split-complementary
#183374 #742B18 #617418
monochromatic
#050B19 #0E1D41 #183374 #2249A7 #3262D5

Accessibility & contrast

On white

11.90
#183374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183374
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183374#FFFFFF#000000##FFFFFF
##1833741.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023B76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183374;
/* rgb */ color: rgb(24, 51, 116);
/* oklch */ color: oklch(34.2% 0.117 264.1);
Tailwind
colors: {
  custom: {
    50: '#646a9d',
    500: '#183374',
    950: '#000000',
  },
}
SCSS
$custom: #183374;
$custom-light: #646a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#183374",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 222.391,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34227,
    "c": 0.11685,
    "h": 264.1
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#183374
secondary
#A98A3F
accent
#B73FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183374

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

Preview Lab → · Contrast checker → · Palette generator →

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