#183C7D#183C7D

#183C7D is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.118 H 261.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#183C7D
RGBrgb(24, 60, 125)
HSLhsl(219, 68%, 29%)
HSVhsv(219, 81%, 49%)
CMYKcmyk(80.8%, 52%, 0%, 51%)
CIE-LABlab(26.46, 12.59, -40.56)
CIE-LCHlch(26.46, 42.47, 287.25°)
OKLaboklab(37.03% -0.0183 -0.1167)
OKLCHoklch(37.03% 0.118 261.1)
XYZxyz(5.6929, 4.9059, 20.0450)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C7D #7D5918
analogous
#186F7D #183C7D #27187D
triadic
#183C7D #7D183C #3C7D18
tetradic
#183C7D #7D186F #7D5918 #187D27
square
#183C7D #7D186F #7D5918 #187D27
split-complementary
#183C7D #7D2718 #6F7D18
monochromatic
#050C1A #0E234A #183C7D #2255B0 #3770D9

Accessibility & contrast

On white

10.60
#183C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#183C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C7D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C7D#FFFFFF#000000##FFFFFF
##183C7D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183c7d;
/* rgb */ color: rgb(24, 60, 125);
/* oklch */ color: oklch(37.0% 0.118 261.1);
Tailwind
colors: {
  custom: {
    50: '#6671a3',
    500: '#183c7d',
    950: '#000000',
  },
}
SCSS
$custom: #183c7d;
$custom-light: #6671a3;
$custom-dark: #000000;
JSON
{
  "hex": "#183c7d",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 218.614,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37026,
    "c": 0.11812,
    "h": 261.1
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#183C7D
secondary
#B2893F
accent
#AD3DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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