#183D99#183D99

#183D99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.156 H 263.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#183D99
RGBrgb(24, 61, 153)
HSLhsl(223, 73%, 35%)
HSVhsv(223, 84%, 60%)
CMYKcmyk(84.3%, 60.1%, 0%, 40%)
CIE-LABlab(28.98, 23.33, -53.80)
CIE-LCHlch(28.98, 58.64, 293.45°)
OKLaboklab(39.63% -0.0166 -0.1556)
OKLCHoklch(39.63% 0.156 263.9)
XYZxyz(7.7932, 5.8306, 30.8455)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D99 #997418
analogous
#187D99 #183D99 #341899
triadic
#183D99 #99183D #3D9918
tetradic
#183D99 #99187D #997418 #189934
square
#183D99 #99187D #997418 #189934
split-complementary
#183D99 #993418 #7D9918
monochromatic
#07132F #102864 #183D99 #2052CE #4975E2

Accessibility & contrast

On white

9.69
#183D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#183D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D99
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D99#FFFFFF#000000##FFFFFF
##183D991.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #183d99;
/* rgb */ color: rgb(24, 61, 153);
/* oklch */ color: oklch(39.6% 0.156 263.9);
Tailwind
colors: {
  custom: {
    50: '#6d72b8',
    500: '#183d99',
    950: '#000000',
  },
}
SCSS
$custom: #183d99;
$custom-light: #6d72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#183d99",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 222.791,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.15647,
    "h": 263.9
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#183D99
secondary
#C4A149
accent
#BB38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183D99

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

Preview Lab → · Contrast checker → · Palette generator →

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