#183379#183379

#183379 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.124 H 264.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#183379
RGBrgb(24, 51, 121)
HSLhsl(223, 67%, 28%)
HSVhsv(223, 80%, 47%)
CMYKcmyk(80.2%, 57.9%, 0%, 52.5%)
CIE-LABlab(23.48, 17.32, -42.87)
CIE-LCHlch(23.48, 46.24, 291.99°)
OKLaboklab(34.66% -0.0115 -0.1237)
OKLCHoklch(34.66% 0.124 264.7)
XYZxyz(5.0105, 3.9417, 18.5822)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183379 #795E18
analogous
#186379 #183379 #2D1879
triadic
#183379 #791833 #337918
tetradic
#183379 #791863 #795E18 #18792D
square
#183379 #791863 #795E18 #18792D
split-complementary
#183379 #792D18 #637918
monochromatic
#050B1A #0E1D46 #183379 #2249AC #3562D7

Accessibility & contrast

On white

11.74
#183379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#183379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183379
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183379#FFFFFF#000000##FFFFFF
##1833791.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183379;
/* rgb */ color: rgb(24, 51, 121);
/* oklch */ color: oklch(34.7% 0.124 264.7);
Tailwind
colors: {
  custom: {
    50: '#656aa0',
    500: '#183379',
    950: '#000000',
  },
}
SCSS
$custom: #183379;
$custom-light: #656aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#183379",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 223.299,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34659,
    "c": 0.1242,
    "h": 264.7
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#183379
secondary
#AE8F3F
accent
#BA3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #183379

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

Preview Lab → · Contrast checker → · Palette generator →

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