#183982#183982

#183982 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.129 H 263.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#183982
RGBrgb(24, 57, 130)
HSLhsl(221, 69%, 30%)
HSVhsv(221, 82%, 51%)
CMYKcmyk(81.5%, 56.2%, 0%, 49%)
CIE-LABlab(25.96, 16.77, -44.52)
CIE-LCHlch(25.96, 47.57, 290.64°)
OKLaboklab(36.76% -0.0153 -0.1284)
OKLCHoklch(36.76% 0.129 263.2)
XYZxyz(5.8676, 4.7315, 21.7188)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183982 #826118
analogous
#186E82 #183982 #2C1882
triadic
#183982 #821839 #398218
tetradic
#183982 #82186E #826118 #18822C
square
#183982 #82186E #826118 #18822C
split-complementary
#183982 #822C18 #6E8218
monochromatic
#050C1B #0E224E #183982 #2250B6 #3A6CDB

Accessibility & contrast

On white

10.79
#183982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183982
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183982#FFFFFF#000000##FFFFFF
##1839821.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183982;
/* rgb */ color: rgb(24, 57, 130);
/* oklch */ color: oklch(36.8% 0.129 263.2);
Tailwind
colors: {
  custom: {
    50: '#676ea7',
    500: '#183982',
    950: '#000000',
  },
}
SCSS
$custom: #183982;
$custom-light: #676ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#183982",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 130
  },
  "hsl": {
    "h": 221.321,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3676,
    "c": 0.12931,
    "h": 263.2
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#183982
secondary
#B69140
accent
#B53CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183982

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

Preview Lab → · Contrast checker → · Palette generator →

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