#183E99#183E99

#183E99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.155 H 263.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#183E99
RGBrgb(24, 62, 153)
HSLhsl(222, 73%, 35%)
HSVhsv(222, 84%, 60%)
CMYKcmyk(84.3%, 59.5%, 0%, 40%)
CIE-LABlab(29.26, 22.65, -53.35)
CIE-LCHlch(29.26, 57.96, 293.00°)
OKLaboklab(39.84% -0.0172 -0.1542)
OKLCHoklch(39.84% 0.155 263.6)
XYZxyz(7.8470, 5.9384, 30.8635)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E99 #997318
analogous
#187E99 #183E99 #331899
triadic
#183E99 #99183E #3E9918
tetradic
#183E99 #99187E #997318 #189933
square
#183E99 #99187E #997318 #189933
split-complementary
#183E99 #993318 #7E9918
monochromatic
#07132F #102964 #183E99 #2053CE #4976E2

Accessibility & contrast

On white

9.60
#183E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183E99
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E99#FFFFFF#000000##FFFFFF
##183E991.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #183e99;
/* rgb */ color: rgb(24, 62, 153);
/* oklch */ color: oklch(39.8% 0.155 263.6);
Tailwind
colors: {
  custom: {
    50: '#6d72b8',
    500: '#183e99',
    950: '#000000',
  },
}
SCSS
$custom: #183e99;
$custom-light: #6d72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#183e99",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 222.326,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.1552,
    "h": 263.6
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#183E99
secondary
#C4A049
accent
#BA38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #183E99

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

Preview Lab → · Contrast checker → · Palette generator →

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