#183A78#183A78

#183A78 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.113 H 261.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#183A78
RGBrgb(24, 58, 120)
HSLhsl(219, 67%, 28%)
HSVhsv(219, 80%, 47%)
CMYKcmyk(80%, 51.7%, 0%, 52.9%)
CIE-LABlab(25.49, 11.93, -38.98)
CIE-LCHlch(25.49, 40.76, 287.01°)
OKLaboklab(36.16% -0.0174 -0.1121)
OKLCHoklch(36.16% 0.113 261.2)
XYZxyz(5.2787, 4.5758, 18.3707)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A78 #785618
analogous
#186A78 #183A78 #261878
triadic
#183A78 #78183A #3A7818
tetradic
#183A78 #78186A #785618 #187826
square
#183A78 #78186A #785618 #187826
split-complementary
#183A78 #782618 #6A7818
monochromatic
#050C1A #0E2145 #183A78 #2253AB #346ED6

Accessibility & contrast

On white

10.96
#183A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#183A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A78
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A78#FFFFFF#000000##FFFFFF
##183A781.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15417A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183a78;
/* rgb */ color: rgb(24, 58, 120);
/* oklch */ color: oklch(36.2% 0.113 261.2);
Tailwind
colors: {
  custom: {
    50: '#656f9f',
    500: '#183a78',
    950: '#000000',
  },
}
SCSS
$custom: #183a78;
$custom-light: #656f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#183a78",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 218.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36163,
    "c": 0.11342,
    "h": 261.2
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#183A78
secondary
#AD863F
accent
#AD3EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183A78

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

Preview Lab → · Contrast checker → · Palette generator →

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