#183C8D#183C8D

#183C8D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.141 H 263.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#183C8D
RGBrgb(24, 60, 141)
HSLhsl(222, 71%, 32%)
HSVhsv(222, 83%, 55%)
CMYKcmyk(83%, 57.4%, 0%, 44.7%)
CIE-LABlab(27.70, 19.17, -48.52)
CIE-LCHlch(27.70, 52.17, 291.56°)
OKLaboklab(38.36% -0.0166 -0.1401)
OKLCHoklch(38.36% 0.141 263.2)
XYZxyz(6.7985, 5.3482, 25.8681)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C8D #8D6918
analogous
#18778D #183C8D #2E188D
triadic
#183C8D #8D183C #3C8D18
tetradic
#183C8D #8D1877 #8D6918 #188D2E
square
#183C8D #8D1877 #8D6918 #188D2E
split-complementary
#183C8D #8D2E18 #778D18
monochromatic
#060F24 #0F2659 #183C8D #2152C1 #4171DF

Accessibility & contrast

On white

10.15
#183C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#183C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C8D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C8D#FFFFFF#000000##FFFFFF
##183C8D1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183c8d;
/* rgb */ color: rgb(24, 60, 141);
/* oklch */ color: oklch(38.4% 0.141 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a71af',
    500: '#183c8d',
    950: '#000000',
  },
}
SCSS
$custom: #183c8d;
$custom-light: #6a71af;
$custom-dark: #000000;
JSON
{
  "hex": "#183c8d",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 221.538,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.14108,
    "h": 263.2
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#183C8D
secondary
#BF9942
accent
#B63AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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