#183E79#183E79

#183E79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.110 H 259.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#183E79
RGBrgb(24, 62, 121)
HSLhsl(216, 67%, 28%)
HSVhsv(216, 80%, 47%)
CMYKcmyk(80.2%, 48.8%, 0%, 52.5%)
CIE-LABlab(26.79, 9.53, -37.52)
CIE-LCHlch(26.79, 38.71, 284.25°)
OKLaboklab(37.18% -0.0207 -0.1077)
OKLCHoklch(37.18% 0.11 259.1)
XYZxyz(5.5492, 5.0193, 18.7618)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E79 #795318
analogous
#186E79 #183E79 #221879
triadic
#183E79 #79183E #3E7918
tetradic
#183E79 #79186E #795318 #187922
square
#183E79 #79186E #795318 #187922
split-complementary
#183E79 #792218 #6E7918
monochromatic
#050D1A #0E2446 #183E79 #2258AC #3574D7

Accessibility & contrast

On white

10.48
#183E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#183E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E79
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E79#FFFFFF#000000##FFFFFF
##183E791.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#043B78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183e79;
/* rgb */ color: rgb(24, 62, 121);
/* oklch */ color: oklch(37.2% 0.110 259.1);
Tailwind
colors: {
  custom: {
    50: '#6572a0',
    500: '#183e79',
    950: '#000000',
  },
}
SCSS
$custom: #183e79;
$custom-light: #6572a0;
$custom-dark: #000000;
JSON
{
  "hex": "#183e79",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 216.495,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37183,
    "c": 0.10967,
    "h": 259.1
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#183E79
secondary
#AE823F
accent
#A63EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #183E79

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

Preview Lab → · Contrast checker → · Palette generator →

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