#183C98#183C98

#183C98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.156 H 264.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#183C98
RGBrgb(24, 60, 152)
HSLhsl(223, 73%, 35%)
HSVhsv(223, 84%, 60%)
CMYKcmyk(84.2%, 60.5%, 0%, 40.4%)
CIE-LABlab(28.62, 23.62, -53.78)
CIE-LCHlch(28.62, 58.73, 293.71°)
OKLaboklab(39.34% -0.016 -0.1555)
OKLCHoklch(39.34% 0.156 264.1)
XYZxyz(7.6580, 5.6920, 30.3947)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C98 #987418
analogous
#187C98 #183C98 #341898
triadic
#183C98 #98183C #3C9818
tetradic
#183C98 #98187C #987418 #189834
square
#183C98 #98187C #987418 #189834
split-complementary
#183C98 #983418 #7C9818
monochromatic
#07122E #102763 #183C98 #2051CD #4874E2

Accessibility & contrast

On white

9.82
#183C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#183C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C98
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C98#FFFFFF#000000##FFFFFF
##183C981.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183c98;
/* rgb */ color: rgb(24, 60, 152);
/* oklch */ color: oklch(39.3% 0.156 264.1);
Tailwind
colors: {
  custom: {
    50: '#6d71b7',
    500: '#183c98',
    950: '#000000',
  },
}
SCSS
$custom: #183c98;
$custom-light: #6d71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#183c98",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 223.125,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39335,
    "c": 0.15636,
    "h": 264.1
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#183C98
secondary
#C4A148
accent
#BC38EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183C98

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

Preview Lab → · Contrast checker → · Palette generator →

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