#183278#183278

#183278 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.124 H 265.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#183278
RGBrgb(24, 50, 120)
HSLhsl(224, 67%, 28%)
HSVhsv(224, 80%, 47%)
CMYKcmyk(80%, 58.3%, 0%, 52.9%)
CIE-LABlab(23.10, 17.62, -42.84)
CIE-LCHlch(23.10, 46.32, 292.35°)
OKLaboklab(34.35% -0.0108 -0.1236)
OKLCHoklch(34.35% 0.124 265)
XYZxyz(4.9063, 3.8309, 18.2465)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183278 #785E18
analogous
#186278 #183278 #2E1878
triadic
#183278 #781832 #327818
tetradic
#183278 #781862 #785E18 #18782E
square
#183278 #781862 #785E18 #18782E
split-complementary
#183278 #782E18 #627818
monochromatic
#050B1A #0E1D45 #183278 #2247AB #3460D6

Accessibility & contrast

On white

11.89
#183278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#183278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183278
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183278#FFFFFF#000000##FFFFFF
##1832781.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #183278;
/* rgb */ color: rgb(24, 50, 120);
/* oklch */ color: oklch(34.4% 0.124 265.0);
Tailwind
colors: {
  custom: {
    50: '#6569a0',
    500: '#183278',
    950: '#000000',
  },
}
SCSS
$custom: #183278;
$custom-light: #6569a0;
$custom-dark: #000000;
JSON
{
  "hex": "#183278",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 223.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.12408,
    "h": 265
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#183278
secondary
#AD8F3F
accent
#BB3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #183278

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

Preview Lab → · Contrast checker → · Palette generator →

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