#183882#183882

#183882 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.131 H 263.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#183882
RGBrgb(24, 56, 130)
HSLhsl(222, 69%, 30%)
HSVhsv(222, 82%, 51%)
CMYKcmyk(81.5%, 56.9%, 0%, 49%)
CIE-LABlab(25.66, 17.47, -44.99)
CIE-LCHlch(25.66, 48.27, 291.22°)
OKLaboklab(36.54% -0.0146 -0.1298)
OKLCHoklch(36.54% 0.131 263.6)
XYZxyz(5.8187, 4.6336, 21.7025)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183882 #826218
analogous
#186D82 #183882 #2D1882
triadic
#183882 #821838 #388218
tetradic
#183882 #82186D #826218 #18822D
square
#183882 #82186D #826218 #18822D
split-complementary
#183882 #822D18 #6D8218
monochromatic
#050B1B #0E224E #183882 #224EB6 #3A6ADB

Accessibility & contrast

On white

10.90
#183882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#183882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183882
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183882#FFFFFF#000000##FFFFFF
##1838821.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183882;
/* rgb */ color: rgb(24, 56, 130);
/* oklch */ color: oklch(36.5% 0.131 263.6);
Tailwind
colors: {
  custom: {
    50: '#686ea7',
    500: '#183882',
    950: '#000000',
  },
}
SCSS
$custom: #183882;
$custom-light: #686ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#183882",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 221.887,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36539,
    "c": 0.13064,
    "h": 263.6
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#183882
secondary
#B69240
accent
#B73CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183882

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

Preview Lab → · Contrast checker → · Palette generator →

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