#183F89#183F89

#183F89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.132 H 261.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#183F89
RGBrgb(24, 63, 137)
HSLhsl(219, 70%, 32%)
HSVhsv(219, 82%, 54%)
CMYKcmyk(82.5%, 54%, 0%, 46.3%)
CIE-LABlab(28.26, 15.44, -45.14)
CIE-LCHlch(28.26, 47.71, 288.88°)
OKLaboklab(38.68% -0.0192 -0.1301)
OKLCHoklch(38.68% 0.132 261.6)
XYZxyz(6.6679, 5.5546, 24.3828)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F89 #896218
analogous
#187889 #183F89 #2A1889
triadic
#183F89 #89183F #3F8918
tetradic
#183F89 #891878 #896218 #18892A
square
#183F89 #891878 #896218 #18892A
split-complementary
#183F89 #892A18 #788918
monochromatic
#060F21 #0F2755 #183F89 #2157BD #3E75DD

Accessibility & contrast

On white

9.95
#183F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#183F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F89
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F89#FFFFFF#000000##FFFFFF
##183F891.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183f89;
/* rgb */ color: rgb(24, 63, 137);
/* oklch */ color: oklch(38.7% 0.132 261.6);
Tailwind
colors: {
  custom: {
    50: '#6973ac',
    500: '#183f89',
    950: '#000000',
  },
}
SCSS
$custom: #183f89;
$custom-light: #6973ac;
$custom-dark: #000000;
JSON
{
  "hex": "#183f89",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 219.292,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.13151,
    "h": 261.6
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#183F89
secondary
#BD9240
accent
#AF3BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183F89

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

Preview Lab → · Contrast checker → · Palette generator →

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