#183E78#183E78

#183E78 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.108 H 258.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#183E78
RGBrgb(24, 62, 120)
HSLhsl(216, 67%, 28%)
HSVhsv(216, 80%, 47%)
CMYKcmyk(80%, 48.3%, 0%, 52.9%)
CIE-LABlab(26.72, 9.12, -37.00)
CIE-LCHlch(26.72, 38.11, 283.84°)
OKLaboklab(37.11% -0.0209 -0.1062)
OKLCHoklch(37.11% 0.108 258.9)
XYZxyz(5.4882, 4.9949, 18.4405)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E78 #785218
analogous
#186E78 #183E78 #221878
triadic
#183E78 #78183E #3E7818
tetradic
#183E78 #78186E #785218 #187822
square
#183E78 #78186E #785218 #187822
split-complementary
#183E78 #782218 #6E7818
monochromatic
#050D1A #0E2445 #183E78 #2258AB #3474D6

Accessibility & contrast

On white

10.50
#183E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183E78
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E78#FFFFFF#000000##FFFFFF
##183E781.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#073B77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183e78;
/* rgb */ color: rgb(24, 62, 120);
/* oklch */ color: oklch(37.1% 0.108 258.9);
Tailwind
colors: {
  custom: {
    50: '#65729f',
    500: '#183e78',
    950: '#000000',
  },
}
SCSS
$custom: #183e78;
$custom-light: #65729f;
$custom-dark: #000000;
JSON
{
  "hex": "#183e78",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 120
  },
  "hsl": {
    "h": 216.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.10821,
    "h": 258.9
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#183E78
secondary
#AD813F
accent
#A63EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #183E78

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

Preview Lab → · Contrast checker → · Palette generator →

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