#183F99#183F99

#183F99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.154 H 263.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#183F99
RGBrgb(24, 63, 153)
HSLhsl(222, 73%, 35%)
HSVhsv(222, 84%, 60%)
CMYKcmyk(84.3%, 58.8%, 0%, 40%)
CIE-LABlab(29.53, 21.96, -52.90)
CIE-LCHlch(29.53, 57.28, 292.54°)
OKLaboklab(40.04% -0.0178 -0.1529)
OKLCHoklch(40.04% 0.154 263.4)
XYZxyz(7.9019, 6.0481, 30.8818)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F99 #997218
analogous
#188099 #183F99 #311899
triadic
#183F99 #99183F #3F9918
tetradic
#183F99 #991880 #997218 #189931
square
#183F99 #991880 #997218 #189931
split-complementary
#183F99 #993118 #809918
monochromatic
#07132F #102964 #183F99 #2055CE #4977E2

Accessibility & contrast

On white

9.50
#183F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183F99
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F99#FFFFFF#000000##FFFFFF
##183F991.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #183f99;
/* rgb */ color: rgb(24, 63, 153);
/* oklch */ color: oklch(40.0% 0.154 263.4);
Tailwind
colors: {
  custom: {
    50: '#6d73b8',
    500: '#183f99',
    950: '#000000',
  },
}
SCSS
$custom: #183f99;
$custom-light: #6d73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#183f99",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 221.86,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.15394,
    "h": 263.4
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#183F99
secondary
#C49F49
accent
#B838F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #183F99

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

Preview Lab → · Contrast checker → · Palette generator →

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