#183F96#183F96

#183F96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.150 H 263.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#183F96
RGBrgb(24, 63, 150)
HSLhsl(221, 72%, 34%)
HSVhsv(221, 84%, 59%)
CMYKcmyk(84%, 58%, 0%, 41.2%)
CIE-LABlab(29.29, 20.75, -51.47)
CIE-LCHlch(29.29, 55.49, 291.95°)
OKLaboklab(39.78% -0.018 -0.1487)
OKLCHoklch(39.78% 0.15 263.1)
XYZxyz(7.6572, 5.9503, 29.5932)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F96 #966F18
analogous
#187E96 #183F96 #301896
triadic
#183F96 #96183F #3F9618
tetradic
#183F96 #96187E #966F18 #189630
square
#183F96 #96187E #966F18 #189630
split-complementary
#183F96 #963018 #7E9618
monochromatic
#07132C #102961 #183F96 #2055CB #4777E2

Accessibility & contrast

On white

9.59
#183F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183F96
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F96#FFFFFF#000000##FFFFFF
##183F961.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #183f96;
/* rgb */ color: rgb(24, 63, 150);
/* oklch */ color: oklch(39.8% 0.150 263.1);
Tailwind
colors: {
  custom: {
    50: '#6c73b6',
    500: '#183f96',
    950: '#000000',
  },
}
SCSS
$custom: #183f96;
$custom-light: #6c73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#183f96",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 221.429,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.1498,
    "h": 263.1
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#183F96
secondary
#C39C47
accent
#B739EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #183F96

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

Preview Lab → · Contrast checker → · Palette generator →

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