#183D96#183D96

#183D96 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.152 H 263.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#183D96
RGBrgb(24, 61, 150)
HSLhsl(222, 72%, 34%)
HSVhsv(222, 84%, 59%)
CMYKcmyk(84%, 59.3%, 0%, 41.2%)
CIE-LABlab(28.73, 22.13, -52.38)
CIE-LCHlch(28.73, 56.86, 292.90°)
OKLaboklab(39.36% -0.0167 -0.1514)
OKLCHoklch(39.36% 0.152 263.7)
XYZxyz(7.5485, 5.7328, 29.5569)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D96 #967118
analogous
#187C96 #183D96 #321896
triadic
#183D96 #96183D #3D9618
tetradic
#183D96 #96187C #967118 #189632
square
#183D96 #96187C #967118 #189632
split-complementary
#183D96 #963218 #7C9618
monochromatic
#07122C #102861 #183D96 #2052CB #4774E2

Accessibility & contrast

On white

9.78
#183D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#183D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D96
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D96#FFFFFF#000000##FFFFFF
##183D961.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #183d96;
/* rgb */ color: rgb(24, 61, 150);
/* oklch */ color: oklch(39.4% 0.152 263.7);
Tailwind
colors: {
  custom: {
    50: '#6d72b6',
    500: '#183d96',
    950: '#000000',
  },
}
SCSS
$custom: #183d96;
$custom-light: #6d72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#183d96",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 222.381,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.15235,
    "h": 263.7
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#183D96
secondary
#C39E47
accent
#BA39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183D96

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

Preview Lab → · Contrast checker → · Palette generator →

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