#183C93#183C93

#183C93 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.149 H 263.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#183C93
RGBrgb(24, 60, 147)
HSLhsl(222, 72%, 34%)
HSVhsv(222, 84%, 58%)
CMYKcmyk(83.7%, 59.2%, 0%, 42.4%)
CIE-LABlab(28.20, 21.61, -51.41)
CIE-LCHlch(28.20, 55.76, 292.80°)
OKLaboklab(38.89% -0.0162 -0.1486)
OKLCHoklch(38.89% 0.149 263.8)
XYZxyz(7.2571, 5.5316, 28.2833)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C93 #936F18
analogous
#187993 #183C93 #311893
triadic
#183C93 #93183C #3C9318
tetradic
#183C93 #931879 #936F18 #189331
square
#183C93 #931879 #936F18 #189331
split-complementary
#183C93 #933118 #799318
monochromatic
#07112A #0F275E #183C93 #2151C8 #4572E1

Accessibility & contrast

On white

9.97
#183C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#183C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C93
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C93#FFFFFF#000000##FFFFFF
##183C931.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183c93;
/* rgb */ color: rgb(24, 60, 147);
/* oklch */ color: oklch(38.9% 0.149 263.8);
Tailwind
colors: {
  custom: {
    50: '#6c71b3',
    500: '#183c93',
    950: '#000000',
  },
}
SCSS
$custom: #183c93;
$custom-light: #6c71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#183c93",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 222.439,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38886,
    "c": 0.14946,
    "h": 263.8
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#183C93
secondary
#C29D45
accent
#BA39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183C93

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

Preview Lab → · Contrast checker → · Palette generator →

#183C93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva