#183A82#183A82

#183A82 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.128 H 262.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#183A82
RGBrgb(24, 58, 130)
HSLhsl(221, 69%, 30%)
HSVhsv(221, 82%, 51%)
CMYKcmyk(81.5%, 55.4%, 0%, 49%)
CIE-LABlab(26.25, 16.06, -44.04)
CIE-LCHlch(26.25, 46.88, 290.04°)
OKLaboklab(36.98% -0.0161 -0.127)
OKLCHoklch(36.98% 0.128 262.8)
XYZxyz(5.9176, 4.8313, 21.7354)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A82 #826018
analogous
#186F82 #183A82 #2B1882
triadic
#183A82 #82183A #3A8218
tetradic
#183A82 #82186F #826018 #18822B
square
#183A82 #82186F #826018 #18822B
split-complementary
#183A82 #822B18 #6F8218
monochromatic
#050C1B #0E234E #183A82 #2251B6 #3A6DDB

Accessibility & contrast

On white

10.68
#183A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#183A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A82
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A82#FFFFFF#000000##FFFFFF
##183A821.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014385
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183a82;
/* rgb */ color: rgb(24, 58, 130);
/* oklch */ color: oklch(37.0% 0.128 262.8);
Tailwind
colors: {
  custom: {
    50: '#676fa7',
    500: '#183a82',
    950: '#000000',
  },
}
SCSS
$custom: #183a82;
$custom-light: #676fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#183a82",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 220.755,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36982,
    "c": 0.12801,
    "h": 262.8
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#183A82
secondary
#B69040
accent
#B33CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183A82

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

Preview Lab → · Contrast checker → · Palette generator →

#183A82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva