#183378#183378

#183378 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.123 H 264.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#183378
RGBrgb(24, 51, 120)
HSLhsl(223, 67%, 28%)
HSVhsv(223, 80%, 47%)
CMYKcmyk(80%, 57.5%, 0%, 52.9%)
CIE-LABlab(23.40, 16.90, -42.37)
CIE-LCHlch(23.40, 45.62, 291.75°)
OKLaboklab(34.57% -0.0116 -0.1222)
OKLCHoklch(34.57% 0.123 264.6)
XYZxyz(4.9495, 3.9173, 18.2609)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183378 #785D18
analogous
#186378 #183378 #2D1878
triadic
#183378 #781833 #337818
tetradic
#183378 #781863 #785D18 #18782D
square
#183378 #781863 #785D18 #18782D
split-complementary
#183378 #782D18 #637818
monochromatic
#050B1A #0E1D45 #183378 #2249AB #3462D6

Accessibility & contrast

On white

11.77
#183378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#183378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183378
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183378#FFFFFF#000000##FFFFFF
##1833781.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183378;
/* rgb */ color: rgb(24, 51, 120);
/* oklch */ color: oklch(34.6% 0.123 264.6);
Tailwind
colors: {
  custom: {
    50: '#656aa0',
    500: '#183378',
    950: '#000000',
  },
}
SCSS
$custom: #183378;
$custom-light: #656aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#183378",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 223.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34572,
    "c": 0.12275,
    "h": 264.6
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#183378
secondary
#AD8E3F
accent
#B93EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #183378

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

Preview Lab → · Contrast checker → · Palette generator →

#183378 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva