#183C8C#183C8C

#183C8C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.140 H 263.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#183C8C
RGBrgb(24, 60, 140)
HSLhsl(221, 71%, 32%)
HSVhsv(221, 83%, 55%)
CMYKcmyk(82.9%, 57.1%, 0%, 45.1%)
CIE-LABlab(27.62, 18.76, -48.03)
CIE-LCHlch(27.62, 51.57, 291.34°)
OKLaboklab(38.27% -0.0167 -0.1387)
OKLCHoklch(38.27% 0.14 263.1)
XYZxyz(6.7245, 5.3186, 25.4780)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C8C #8C6818
analogous
#18768C #183C8C #2E188C
triadic
#183C8C #8C183C #3C8C18
tetradic
#183C8C #8C1876 #8C6818 #188C2E
square
#183C8C #8C1876 #8C6818 #188C2E
split-complementary
#183C8C #8C2E18 #768C18
monochromatic
#060F24 #0F2658 #183C8C #2152C0 #4071DE

Accessibility & contrast

On white

10.18
#183C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#183C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C8C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C8C#FFFFFF#000000##FFFFFF
##183C8C1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183c8c;
/* rgb */ color: rgb(24, 60, 140);
/* oklch */ color: oklch(38.3% 0.140 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a71ae',
    500: '#183c8c',
    950: '#000000',
  },
}
SCSS
$custom: #183c8c;
$custom-light: #6a71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#183c8c",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 221.379,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38273,
    "c": 0.13967,
    "h": 263.1
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#183C8C
secondary
#BF9841
accent
#B63AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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