#183F79#183F79

#183F79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.108 H 258.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#183F79
RGBrgb(24, 63, 121)
HSLhsl(216, 67%, 28%)
HSVhsv(216, 80%, 47%)
CMYKcmyk(80.2%, 47.9%, 0%, 52.5%)
CIE-LABlab(27.10, 8.84, -37.02)
CIE-LCHlch(27.10, 38.06, 283.42°)
OKLaboklab(37.42% -0.0216 -0.1062)
OKLCHoklch(37.42% 0.108 258.5)
XYZxyz(5.6041, 5.1290, 18.7801)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F79 #795218
analogous
#186F79 #183F79 #211879
triadic
#183F79 #79183F #3F7918
tetradic
#183F79 #79186F #795218 #187921
square
#183F79 #79186F #795218 #187921
split-complementary
#183F79 #792118 #6F7918
monochromatic
#050D1A #0E2446 #183F79 #225AAC #3576D7

Accessibility & contrast

On white

10.37
#183F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#183F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F79
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F79#FFFFFF#000000##FFFFFF
##183F791.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#083C78
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183f79;
/* rgb */ color: rgb(24, 63, 121);
/* oklch */ color: oklch(37.4% 0.108 258.5);
Tailwind
colors: {
  custom: {
    50: '#6573a0',
    500: '#183f79',
    950: '#000000',
  },
}
SCSS
$custom: #183f79;
$custom-light: #6573a0;
$custom-dark: #000000;
JSON
{
  "hex": "#183f79",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 215.876,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.10838,
    "h": 258.5
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#183F79
secondary
#AE813F
accent
#A53EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #183F79

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

Preview Lab → · Contrast checker → · Palette generator →

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