#183F8B#183F8B

#183F8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.134 H 261.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#183F8B
RGBrgb(24, 63, 139)
HSLhsl(220, 71%, 32%)
HSVhsv(220, 83%, 55%)
CMYKcmyk(82.7%, 54.7%, 0%, 45.5%)
CIE-LABlab(28.41, 16.26, -46.13)
CIE-LCHlch(28.41, 48.91, 289.42°)
OKLaboklab(38.85% -0.0189 -0.133)
OKLCHoklch(38.85% 0.134 261.9)
XYZxyz(6.8127, 5.6125, 25.1453)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F8B #8B6418
analogous
#18798B #183F8B #2B188B
triadic
#183F8B #8B183F #3F8B18
tetradic
#183F8B #8B1879 #8B6418 #188B2B
square
#183F8B #8B1879 #8B6418 #188B2B
split-complementary
#183F8B #8B2B18 #798B18
monochromatic
#061023 #0F2757 #183F8B #2157BF #3F75DE

Accessibility & contrast

On white

9.89
#183F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#183F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F8B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F8B#FFFFFF#000000##FFFFFF
##183F8B1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183f8b;
/* rgb */ color: rgb(24, 63, 139);
/* oklch */ color: oklch(38.8% 0.134 261.9);
Tailwind
colors: {
  custom: {
    50: '#6973ad',
    500: '#183f8b',
    950: '#000000',
  },
}
SCSS
$custom: #183f8b;
$custom-light: #6973ad;
$custom-dark: #000000;
JSON
{
  "hex": "#183f8b",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 219.652,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.13436,
    "h": 261.9
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#183F8B
secondary
#BE9440
accent
#B13AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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