#183C96#183C96

#183C96 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.154 H 264.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#183C96
RGBrgb(24, 60, 150)
HSLhsl(223, 72%, 34%)
HSVhsv(223, 84%, 59%)
CMYKcmyk(84%, 60%, 0%, 41.2%)
CIE-LABlab(28.45, 22.82, -52.83)
CIE-LCHlch(28.45, 57.55, 293.36°)
OKLaboklab(39.15% -0.0161 -0.1528)
OKLCHoklch(39.15% 0.154 264)
XYZxyz(7.4956, 5.6270, 29.5393)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C96 #967218
analogous
#187B96 #183C96 #331896
triadic
#183C96 #96183C #3C9618
tetradic
#183C96 #96187B #967218 #189633
square
#183C96 #96187B #967218 #189633
split-complementary
#183C96 #963318 #7B9618
monochromatic
#07122C #102761 #183C96 #2051CB #4773E2

Accessibility & contrast

On white

9.88
#183C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#183C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C96
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C96#FFFFFF#000000##FFFFFF
##183C961.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183c96;
/* rgb */ color: rgb(24, 60, 150);
/* oklch */ color: oklch(39.2% 0.154 264.0);
Tailwind
colors: {
  custom: {
    50: '#6d71b6',
    500: '#183c96',
    950: '#000000',
  },
}
SCSS
$custom: #183c96;
$custom-light: #6d71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#183c96",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 222.857,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39154,
    "c": 0.15361,
    "h": 264
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#183C96
secondary
#C39F47
accent
#BB39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183C96

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

Preview Lab → · Contrast checker → · Palette generator →

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