#183F8C#183F8C

#183F8C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.136 H 262.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#183F8C
RGBrgb(24, 63, 140)
HSLhsl(220, 71%, 32%)
HSVhsv(220, 83%, 55%)
CMYKcmyk(82.9%, 55%, 0%, 45.1%)
CIE-LABlab(28.49, 16.67, -46.62)
CIE-LCHlch(28.49, 49.51, 289.68°)
OKLaboklab(38.93% -0.0188 -0.1345)
OKLCHoklch(38.93% 0.136 262)
XYZxyz(6.8861, 5.6418, 25.5319)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F8C #8C6518
analogous
#18798C #183F8C #2B188C
triadic
#183F8C #8C183F #3F8C18
tetradic
#183F8C #8C1879 #8C6518 #188C2B
square
#183F8C #8C1879 #8C6518 #188C2B
split-complementary
#183F8C #8C2B18 #798C18
monochromatic
#061024 #0F2758 #183F8C #2157C0 #4075DE

Accessibility & contrast

On white

9.87
#183F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183F8C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F8C#FFFFFF#000000##FFFFFF
##183F8C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183f8c;
/* rgb */ color: rgb(24, 63, 140);
/* oklch */ color: oklch(38.9% 0.136 262.0);
Tailwind
colors: {
  custom: {
    50: '#6a73ae',
    500: '#183f8c',
    950: '#000000',
  },
}
SCSS
$custom: #183f8c;
$custom-light: #6a73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#183f8c",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 140
  },
  "hsl": {
    "h": 219.828,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.13578,
    "h": 262
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#183F8C
secondary
#BF9541
accent
#B13AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #183F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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