#183793#183793

#183793 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.156 H 265.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#183793
RGBrgb(24, 55, 147)
HSLhsl(225, 72%, 34%)
HSVhsv(225, 84%, 58%)
CMYKcmyk(83.7%, 62.6%, 0%, 42.4%)
CIE-LABlab(26.83, 25.06, -53.65)
CIE-LCHlch(26.83, 59.21, 295.04°)
OKLaboklab(37.86% -0.0132 -0.1552)
OKLCHoklch(37.86% 0.156 265.2)
XYZxyz(7.0075, 5.0323, 28.2001)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183793 #937418
analogous
#187493 #183793 #361893
triadic
#183793 #931837 #379318
tetradic
#183793 #931874 #937418 #189336
square
#183793 #931874 #937418 #189336
split-complementary
#183793 #933618 #749318
monochromatic
#07102A #0F235E #183793 #214BC8 #456CE1

Accessibility & contrast

On white

10.47
#183793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#183793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183793
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183793#FFFFFF#000000##FFFFFF
##1837931.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183793;
/* rgb */ color: rgb(24, 55, 147);
/* oklch */ color: oklch(37.9% 0.156 265.2);
Tailwind
colors: {
  custom: {
    50: '#6c6db4',
    500: '#183793',
    950: '#000000',
  },
}
SCSS
$custom: #183793;
$custom-light: #6c6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#183793",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 224.878,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37861,
    "c": 0.15579,
    "h": 265.2
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#183793
secondary
#C2A245
accent
#C139EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183793

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

Preview Lab → · Contrast checker → · Palette generator →

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