#183C79#183C79

#183C79 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.112 H 260.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#183C79
RGBrgb(24, 60, 121)
HSLhsl(218, 67%, 28%)
HSVhsv(218, 80%, 47%)
CMYKcmyk(80.2%, 50.4%, 0%, 52.5%)
CIE-LABlab(26.17, 10.93, -38.51)
CIE-LCHlch(26.17, 40.03, 285.85°)
OKLaboklab(36.71% -0.0189 -0.1107)
OKLCHoklch(36.71% 0.112 260.3)
XYZxyz(5.4425, 4.8058, 18.7262)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C79 #795518
analogous
#186C79 #183C79 #241879
triadic
#183C79 #79183C #3C7918
tetradic
#183C79 #79186C #795518 #187924
square
#183C79 #79186C #795518 #187924
split-complementary
#183C79 #792418 #6C7918
monochromatic
#050D1A #0E2346 #183C79 #2255AC #3571D7

Accessibility & contrast

On white

10.71
#183C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#183C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C79
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C79#FFFFFF#000000##FFFFFF
##183C791.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183c79;
/* rgb */ color: rgb(24, 60, 121);
/* oklch */ color: oklch(36.7% 0.112 260.3);
Tailwind
colors: {
  custom: {
    50: '#6571a0',
    500: '#183c79',
    950: '#000000',
  },
}
SCSS
$custom: #183c79;
$custom-light: #6571a0;
$custom-dark: #000000;
JSON
{
  "hex": "#183c79",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 217.732,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3671,
    "c": 0.11227,
    "h": 260.3
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#183C79
secondary
#AE853F
accent
#AA3EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #183C79

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

Preview Lab → · Contrast checker → · Palette generator →

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