#183F8A#183F8A

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

Color values

HEX#183F8A
RGBrgb(24, 63, 138)
HSLhsl(219, 70%, 32%)
HSVhsv(219, 83%, 54%)
CMYKcmyk(82.6%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.34, 15.85, -45.64)
CIE-LCHlch(28.34, 48.31, 289.15°)
OKLaboklab(38.76% -0.019 -0.1316)
OKLCHoklch(38.76% 0.133 261.8)
XYZxyz(6.7400, 5.5834, 24.7623)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F8A #8A6318
analogous
#18788A #183F8A #2A188A
triadic
#183F8A #8A183F #3F8A18
tetradic
#183F8A #8A1878 #8A6318 #188A2A
square
#183F8A #8A1878 #8A6318 #188A2A
split-complementary
#183F8A #8A2A18 #788A18
monochromatic
#060F22 #0F2756 #183F8A #2157BE #3F75DE

Accessibility & contrast

On white

9.92
#183F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183F8A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F8A#FFFFFF#000000##FFFFFF
##183F8A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183f8a;
/* rgb */ color: rgb(24, 63, 138);
/* oklch */ color: oklch(38.8% 0.133 261.8);
Tailwind
colors: {
  custom: {
    50: '#6973ad',
    500: '#183f8a',
    950: '#000000',
  },
}
SCSS
$custom: #183f8a;
$custom-light: #6973ad;
$custom-dark: #000000;
JSON
{
  "hex": "#183f8a",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 219.474,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38763,
    "c": 0.13294,
    "h": 261.8
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#183F8A
secondary
#BD9340
accent
#B03BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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