#183C82#183C82

#183C82 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.125 H 261.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#183C82
RGBrgb(24, 60, 130)
HSLhsl(220, 69%, 30%)
HSVhsv(220, 82%, 51%)
CMYKcmyk(81.5%, 53.8%, 0%, 49%)
CIE-LABlab(26.84, 14.66, -43.09)
CIE-LCHlch(26.84, 45.51, 288.79°)
OKLaboklab(37.43% -0.0177 -0.1241)
OKLCHoklch(37.43% 0.125 261.9)
XYZxyz(6.0204, 5.0369, 21.7697)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C82 #825E18
analogous
#187182 #183C82 #291882
triadic
#183C82 #82183C #3C8218
tetradic
#183C82 #821871 #825E18 #188229
square
#183C82 #821871 #825E18 #188229
split-complementary
#183C82 #822918 #718218
monochromatic
#050C1B #0E244E #183C82 #2254B6 #3A70DB

Accessibility & contrast

On white

10.46
#183C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#183C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C82
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C82#FFFFFF#000000##FFFFFF
##183C821.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4584
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183c82;
/* rgb */ color: rgb(24, 60, 130);
/* oklch */ color: oklch(37.4% 0.125 261.9);
Tailwind
colors: {
  custom: {
    50: '#6771a7',
    500: '#183c82',
    950: '#000000',
  },
}
SCSS
$custom: #183c82;
$custom-light: #6771a7;
$custom-dark: #000000;
JSON
{
  "hex": "#183c82",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 219.623,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37431,
    "c": 0.12538,
    "h": 261.9
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#183C82
secondary
#B68E40
accent
#B03CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183C82

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

Preview Lab → · Contrast checker → · Palette generator →

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