#183F9A#183F9A

#183F9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.155 H 263.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#183F9A
RGBrgb(24, 63, 154)
HSLhsl(222, 73%, 35%)
HSVhsv(222, 84%, 60%)
CMYKcmyk(84.4%, 59.1%, 0%, 39.6%)
CIE-LABlab(29.62, 22.36, -53.37)
CIE-LCHlch(29.62, 57.87, 292.73°)
OKLaboklab(40.13% -0.0177 -0.1543)
OKLCHoklch(40.13% 0.155 263.4)
XYZxyz(7.9848, 6.0813, 31.3186)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F9A #9A7318
analogous
#18809A #183F9A #32189A
triadic
#183F9A #9A183F #3F9A18
tetradic
#183F9A #9A1880 #9A7318 #189A32
square
#183F9A #9A1880 #9A7318 #189A32
split-complementary
#183F9A #9A3218 #809A18
monochromatic
#071430 #102965 #183F9A #2055CF #4A78E3

Accessibility & contrast

On white

9.47
#183F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#183F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F9A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F9A#FFFFFF#000000##FFFFFF
##183F9A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #183f9a;
/* rgb */ color: rgb(24, 63, 154);
/* oklch */ color: oklch(40.1% 0.155 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e73b9',
    500: '#183f9a',
    950: '#000000',
  },
}
SCSS
$custom: #183f9a;
$custom-light: #6e73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#183f9a",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 222,
    "s": 73.034,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40133,
    "c": 0.15532,
    "h": 263.4
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#183F9A
secondary
#C49F4A
accent
#B938F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #183F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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