#183D79#183D79

#183D79 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.111 H 259.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#183D79
RGBrgb(24, 61, 121)
HSLhsl(217, 67%, 28%)
HSVhsv(217, 80%, 47%)
CMYKcmyk(80.2%, 49.6%, 0%, 52.5%)
CIE-LABlab(26.48, 10.23, -38.01)
CIE-LCHlch(26.48, 39.37, 285.07°)
OKLaboklab(36.95% -0.0198 -0.1092)
OKLCHoklch(36.95% 0.111 259.7)
XYZxyz(5.4954, 4.9115, 18.7438)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D79 #795418
analogous
#186D79 #183D79 #231879
triadic
#183D79 #79183D #3D7918
tetradic
#183D79 #79186D #795418 #187923
square
#183D79 #79186D #795418 #187923
split-complementary
#183D79 #792318 #6D7918
monochromatic
#050D1A #0E2346 #183D79 #2257AC #3572D7

Accessibility & contrast

On white

10.59
#183D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#183D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D79
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D79#FFFFFF#000000##FFFFFF
##183D791.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183d79;
/* rgb */ color: rgb(24, 61, 121);
/* oklch */ color: oklch(36.9% 0.111 259.7);
Tailwind
colors: {
  custom: {
    50: '#6571a0',
    500: '#183d79',
    950: '#000000',
  },
}
SCSS
$custom: #183d79;
$custom-light: #6571a0;
$custom-dark: #000000;
JSON
{
  "hex": "#183d79",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 217.113,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36946,
    "c": 0.11096,
    "h": 259.7
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#183D79
secondary
#AE843F
accent
#A83EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #183D79

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

Preview Lab → · Contrast checker → · Palette generator →

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