#183C9F#183C9F

#183C9F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.166 H 264.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#183C9F
RGBrgb(24, 60, 159)
HSLhsl(224, 74%, 36%)
HSVhsv(224, 85%, 62%)
CMYKcmyk(84.9%, 62.3%, 0%, 37.6%)
CIE-LABlab(29.23, 26.41, -57.04)
CIE-LCHlch(29.23, 62.86, 294.84°)
OKLaboklab(39.98% -0.0158 -0.1651)
OKLCHoklch(39.98% 0.166 264.5)
XYZxyz(8.2483, 5.9281, 33.5037)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C9F #9F7B18
analogous
#187F9F #183C9F #37189F
triadic
#183C9F #9F183C #3C9F18
tetradic
#183C9F #9F187F #9F7B18 #189F37
square
#183C9F #9F187F #9F7B18 #189F37
split-complementary
#183C9F #9F3718 #7F9F18
monochromatic
#081435 #10286A #183C9F #2050D4 #4D75E4

Accessibility & contrast

On white

9.61
#183C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#183C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C9F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C9F#FFFFFF#000000##FFFFFF
##183C9F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #183c9f;
/* rgb */ color: rgb(24, 60, 159);
/* oklch */ color: oklch(40.0% 0.166 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f71bc',
    500: '#183c9f',
    950: '#000000',
  },
}
SCSS
$custom: #183c9f;
$custom-light: #6f71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#183c9f",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 224,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39978,
    "c": 0.16586,
    "h": 264.5
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#183C9F
secondary
#C6A64D
accent
#BF37F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #183C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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