#183E8F#183E8F

#183E8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.141 H 262.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#183E8F
RGBrgb(24, 62, 143)
HSLhsl(221, 71%, 33%)
HSVhsv(221, 83%, 56%)
CMYKcmyk(83.2%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.44, 18.59, -48.56)
CIE-LCHlch(28.44, 52.00, 290.95°)
OKLaboklab(38.96% -0.0178 -0.1402)
OKLCHoklch(38.96% 0.141 262.8)
XYZxyz(7.0555, 5.6218, 26.6945)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E8F #8F6918
analogous
#187A8F #183E8F #2D188F
triadic
#183E8F #8F183E #3E8F18
tetradic
#183E8F #8F187A #8F6918 #188F2D
square
#183E8F #8F187A #8F6918 #188F2D
split-complementary
#183E8F #8F2D18 #7A8F18
monochromatic
#061126 #0F275B #183E8F #2155C3 #4274DF

Accessibility & contrast

On white

9.88
#183E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183E8F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E8F#FFFFFF#000000##FFFFFF
##183E8F1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183e8f;
/* rgb */ color: rgb(24, 62, 143);
/* oklch */ color: oklch(39.0% 0.141 262.8);
Tailwind
colors: {
  custom: {
    50: '#6b72b0',
    500: '#183e8f',
    950: '#000000',
  },
}
SCSS
$custom: #183e8f;
$custom-light: #6b72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#183e8f",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 220.84,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38964,
    "c": 0.14131,
    "h": 262.8
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#183E8F
secondary
#C09843
accent
#B43AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #183E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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