#183E96#183E96

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

Color values

HEX#183E96
RGBrgb(24, 62, 150)
HSLhsl(222, 72%, 34%)
HSVhsv(222, 84%, 59%)
CMYKcmyk(84%, 58.7%, 0%, 41.2%)
CIE-LABlab(29.01, 21.44, -51.93)
CIE-LCHlch(29.01, 56.18, 292.43°)
OKLaboklab(39.57% -0.0173 -0.1501)
OKLCHoklch(39.57% 0.151 263.4)
XYZxyz(7.6024, 5.8405, 29.5749)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E96 #967018
analogous
#187D96 #183E96 #311896
triadic
#183E96 #96183E #3E9618
tetradic
#183E96 #96187D #967018 #189631
square
#183E96 #96187D #967018 #189631
split-complementary
#183E96 #963118 #7D9618
monochromatic
#07122C #102861 #183E96 #2054CB #4776E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##183E96#FFFFFF#000000##FFFFFF
##183E961.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)
#004A99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #183e96;
/* rgb */ color: rgb(24, 62, 150);
/* oklch */ color: oklch(39.6% 0.151 263.4);
Tailwind
colors: {
  custom: {
    50: '#6d72b6',
    500: '#183e96',
    950: '#000000',
  },
}
SCSS
$custom: #183e96;
$custom-light: #6d72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#183e96",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 221.905,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39571,
    "c": 0.15108,
    "h": 263.4
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#183E96
secondary
#C39D47
accent
#B839EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #183E96

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

Preview Lab → · Contrast checker → · Palette generator →

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