#183993#183993

#183993 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.153 H 264.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#183993
RGBrgb(24, 57, 147)
HSLhsl(224, 72%, 34%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(83.7%, 61.2%, 0%, 42.4%)
CIE-LABlab(27.37, 23.68, -52.76)
CIE-LCHlch(27.37, 57.83, 294.17°)
OKLaboklab(38.27% -0.0143 -0.1526)
OKLCHoklch(38.27% 0.153 264.6)
XYZxyz(7.1044, 5.2262, 28.2324)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183993 #937218
analogous
#187693 #183993 #341893
triadic
#183993 #931839 #399318
tetradic
#183993 #931876 #937218 #189334
square
#183993 #931876 #937218 #189334
split-complementary
#183993 #933418 #769318
monochromatic
#07102A #0F255E #183993 #214DC8 #456FE1

Accessibility & contrast

On white

10.27
#183993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#183993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183993
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183993#FFFFFF#000000##FFFFFF
##1839931.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183993;
/* rgb */ color: rgb(24, 57, 147);
/* oklch */ color: oklch(38.3% 0.153 264.6);
Tailwind
colors: {
  custom: {
    50: '#6c6eb3',
    500: '#183993',
    950: '#000000',
  },
}
SCSS
$custom: #183993;
$custom-light: #6c6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#183993",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 223.902,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.15327,
    "h": 264.6
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#183993
secondary
#C2A045
accent
#BE39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183993

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

Preview Lab → · Contrast checker → · Palette generator →

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