#183D9F#183D9F

#183D9F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.165 H 264.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#183D9F
RGBrgb(24, 61, 159)
HSLhsl(224, 74%, 36%)
HSVhsv(224, 85%, 62%)
CMYKcmyk(84.9%, 61.6%, 0%, 37.6%)
CIE-LABlab(29.50, 25.73, -56.60)
CIE-LCHlch(29.50, 62.17, 294.44°)
OKLaboklab(40.18% -0.0164 -0.1638)
OKLCHoklch(40.18% 0.165 264.3)
XYZxyz(8.3012, 6.0339, 33.5213)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D9F #9F7A18
analogous
#18809F #183D9F #37189F
triadic
#183D9F #9F183D #3D9F18
tetradic
#183D9F #9F1880 #9F7A18 #189F37
square
#183D9F #9F1880 #9F7A18 #189F37
split-complementary
#183D9F #9F3718 #809F18
monochromatic
#081435 #10296A #183D9F #2051D4 #4D77E4

Accessibility & contrast

On white

9.52
#183D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#183D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D9F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D9F#FFFFFF#000000##FFFFFF
##183D9F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183d9f;
/* rgb */ color: rgb(24, 61, 159);
/* oklch */ color: oklch(40.2% 0.165 264.3);
Tailwind
colors: {
  custom: {
    50: '#6f72bc',
    500: '#183d9f',
    950: '#000000',
  },
}
SCSS
$custom: #183d9f;
$custom-light: #6f72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#183d9f",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 223.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40177,
    "c": 0.16462,
    "h": 264.3
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#183D9F
secondary
#C6A54D
accent
#BE37F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #183D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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