#183F8D#183F8D

#183F8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.137 H 262.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#183F8D
RGBrgb(24, 63, 141)
HSLhsl(220, 71%, 32%)
HSVhsv(220, 83%, 55%)
CMYKcmyk(83%, 55.3%, 0%, 44.7%)
CIE-LABlab(28.57, 17.08, -47.11)
CIE-LCHlch(28.57, 50.12, 289.93°)
OKLaboklab(39.01% -0.0187 -0.1359)
OKLCHoklch(39.01% 0.137 262.2)
XYZxyz(6.9602, 5.6715, 25.9220)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F8D #8D6618
analogous
#187A8D #183F8D #2C188D
triadic
#183F8D #8D183F #3F8D18
tetradic
#183F8D #8D187A #8D6618 #188D2C
square
#183F8D #8D187A #8D6618 #188D2C
split-complementary
#183F8D #8D2C18 #7A8D18
monochromatic
#061024 #0F2859 #183F8D #2156C1 #4175DF

Accessibility & contrast

On white

9.84
#183F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#183F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F8D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F8D#FFFFFF#000000##FFFFFF
##183F8D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183f8d;
/* rgb */ color: rgb(24, 63, 141);
/* oklch */ color: oklch(39.0% 0.137 262.2);
Tailwind
colors: {
  custom: {
    50: '#6a73af',
    500: '#183f8d',
    950: '#000000',
  },
}
SCSS
$custom: #183f8d;
$custom-light: #6a73af;
$custom-dark: #000000;
JSON
{
  "hex": "#183f8d",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 220,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39013,
    "c": 0.1372,
    "h": 262.2
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#183F8D
secondary
#BF9542
accent
#B23AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #183F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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