#183E82#183E82

#183E82 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 37.9% C 0.123 H 261.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#183E82
RGBrgb(24, 62, 130)
HSLhsl(218, 69%, 30%)
HSVhsv(218, 82%, 51%)
CMYKcmyk(81.5%, 52.3%, 0%, 49%)
CIE-LABlab(27.44, 13.26, -42.12)
CIE-LCHlch(27.44, 44.16, 287.47°)
OKLaboklab(37.89% -0.0193 -0.1212)
OKLCHoklch(37.89% 0.123 261)
XYZxyz(6.1271, 5.2504, 21.8053)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E82 #825C18
analogous
#187382 #183E82 #271882
triadic
#183E82 #82183E #3E8218
tetradic
#183E82 #821873 #825C18 #188227
square
#183E82 #821873 #825C18 #188227
split-complementary
#183E82 #822718 #738218
monochromatic
#050D1B #0E254E #183E82 #2257B6 #3A73DB

Accessibility & contrast

On white

10.24
#183E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#183E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E82
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E82#FFFFFF#000000##FFFFFF
##183E821.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134684
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183e82;
/* rgb */ color: rgb(24, 62, 130);
/* oklch */ color: oklch(37.9% 0.123 261.0);
Tailwind
colors: {
  custom: {
    50: '#6772a7',
    500: '#183e82',
    950: '#000000',
  },
}
SCSS
$custom: #183e82;
$custom-light: #6772a7;
$custom-dark: #000000;
JSON
{
  "hex": "#183e82",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 218.491,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.12277,
    "h": 261
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#183E82
secondary
#B68C40
accent
#AD3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #183E82

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

Preview Lab → · Contrast checker → · Palette generator →

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