#183F78#183F78

#183F78 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.107 H 258.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#183F78
RGBrgb(24, 63, 120)
HSLhsl(216, 67%, 28%)
HSVhsv(216, 80%, 47%)
CMYKcmyk(80%, 47.5%, 0%, 52.9%)
CIE-LABlab(27.03, 8.42, -36.50)
CIE-LCHlch(27.03, 37.46, 282.99°)
OKLaboklab(37.35% -0.0218 -0.1047)
OKLCHoklch(37.35% 0.107 258.2)
XYZxyz(5.5431, 5.1046, 18.4588)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F78 #785118
analogous
#186F78 #183F78 #211878
triadic
#183F78 #78183F #3F7818
tetradic
#183F78 #78186F #785118 #187821
square
#183F78 #78186F #785118 #187821
split-complementary
#183F78 #782118 #6F7818
monochromatic
#050D1A #0E2445 #183F78 #225AAB #3476D6

Accessibility & contrast

On white

10.39
#183F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F78
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F78#FFFFFF#000000##FFFFFF
##183F781.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#0B3C77
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183f78;
/* rgb */ color: rgb(24, 63, 120);
/* oklch */ color: oklch(37.3% 0.107 258.2);
Tailwind
colors: {
  custom: {
    50: '#65739f',
    500: '#183f78',
    950: '#000000',
  },
}
SCSS
$custom: #183f78;
$custom-light: #65739f;
$custom-dark: #000000;
JSON
{
  "hex": "#183f78",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 215.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37347,
    "c": 0.10692,
    "h": 258.2
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#183F78
secondary
#AD803F
accent
#A43EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #183F78

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

Preview Lab → · Contrast checker → · Palette generator →

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