#183C78#183C78

#183C78 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.111 H 260.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#183C78
RGBrgb(24, 60, 120)
HSLhsl(218, 67%, 28%)
HSVhsv(218, 80%, 47%)
CMYKcmyk(80%, 50%, 0%, 52.9%)
CIE-LABlab(26.10, 10.52, -37.99)
CIE-LCHlch(26.10, 39.42, 285.48°)
OKLaboklab(36.63% -0.0191 -0.1091)
OKLCHoklch(36.63% 0.111 260.1)
XYZxyz(5.3815, 4.7814, 18.4049)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C78 #785418
analogous
#186C78 #183C78 #241878
triadic
#183C78 #78183C #3C7818
tetradic
#183C78 #78186C #785418 #187824
square
#183C78 #78186C #785418 #187824
split-complementary
#183C78 #782418 #6C7818
monochromatic
#050D1A #0E2245 #183C78 #2255AB #3471D6

Accessibility & contrast

On white

10.73
#183C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#183C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C78
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C78#FFFFFF#000000##FFFFFF
##183C781.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A427A
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183c78;
/* rgb */ color: rgb(24, 60, 120);
/* oklch */ color: oklch(36.6% 0.111 260.1);
Tailwind
colors: {
  custom: {
    50: '#65719f',
    500: '#183c78',
    950: '#000000',
  },
}
SCSS
$custom: #183c78;
$custom-light: #65719f;
$custom-dark: #000000;
JSON
{
  "hex": "#183c78",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 120
  },
  "hsl": {
    "h": 217.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36632,
    "c": 0.1108,
    "h": 260.1
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#183C78
secondary
#AD843F
accent
#A93EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183C78

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

Preview Lab → · Contrast checker → · Palette generator →

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