#183886#183886

#183886 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.136 H 264.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#183886
RGBrgb(24, 56, 134)
HSLhsl(223, 70%, 31%)
HSVhsv(223, 82%, 53%)
CMYKcmyk(82.1%, 58.2%, 0%, 47.5%)
CIE-LABlab(25.99, 19.11, -46.96)
CIE-LCHlch(25.99, 50.70, 292.15°)
OKLaboklab(36.89% -0.0143 -0.1356)
OKLCHoklch(36.89% 0.136 264)
XYZxyz(6.0924, 4.7430, 23.1440)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183886 #866618
analogous
#186F86 #183886 #2F1886
triadic
#183886 #861838 #388618
tetradic
#183886 #86186F #866618 #18862F
square
#183886 #86186F #866618 #18862F
split-complementary
#183886 #862F18 #6F8618
monochromatic
#050D1E #0F2252 #183886 #214EBA #3C6BDC

Accessibility & contrast

On white

10.78
#183886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#183886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183886
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183886#FFFFFF#000000##FFFFFF
##1838861.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183886;
/* rgb */ color: rgb(24, 56, 134);
/* oklch */ color: oklch(36.9% 0.136 264.0);
Tailwind
colors: {
  custom: {
    50: '#696eaa',
    500: '#183886',
    950: '#000000',
  },
}
SCSS
$custom: #183886;
$custom-light: #696eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#183886",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 222.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36887,
    "c": 0.13636,
    "h": 264
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#183886
secondary
#BA9640
accent
#B93BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183886

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

Preview Lab → · Contrast checker → · Palette generator →

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