#183B78#183B78

#183B78 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.112 H 260.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#183B78
RGBrgb(24, 59, 120)
HSLhsl(218, 67%, 28%)
HSVhsv(218, 80%, 47%)
CMYKcmyk(80%, 50.8%, 0%, 52.9%)
CIE-LABlab(25.80, 11.22, -38.49)
CIE-LCHlch(25.80, 40.09, 286.26°)
OKLaboklab(36.4% -0.0182 -0.1106)
OKLCHoklch(36.4% 0.112 260.6)
XYZxyz(5.3296, 4.6776, 18.3876)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B78 #785518
analogous
#186B78 #183B78 #251878
triadic
#183B78 #78183B #3B7818
tetradic
#183B78 #78186B #785518 #187825
square
#183B78 #78186B #785518 #187825
split-complementary
#183B78 #782518 #6B7818
monochromatic
#050D1A #0E2245 #183B78 #2254AB #346FD6

Accessibility & contrast

On white

10.85
#183B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#183B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B78
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B78#FFFFFF#000000##FFFFFF
##183B781.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183b78;
/* rgb */ color: rgb(24, 59, 120);
/* oklch */ color: oklch(36.4% 0.112 260.6);
Tailwind
colors: {
  custom: {
    50: '#65709f',
    500: '#183b78',
    950: '#000000',
  },
}
SCSS
$custom: #183b78;
$custom-light: #65709f;
$custom-dark: #000000;
JSON
{
  "hex": "#183b78",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 218.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36397,
    "c": 0.1121,
    "h": 260.6
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#183B78
secondary
#AD853F
accent
#AB3EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183B78

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

Preview Lab → · Contrast checker → · Palette generator →

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