#183F8F#183F8F

#183F8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.140 H 262.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#183F8F
RGBrgb(24, 63, 143)
HSLhsl(220, 71%, 33%)
HSVhsv(220, 83%, 56%)
CMYKcmyk(83.2%, 55.9%, 0%, 43.9%)
CIE-LABlab(28.72, 17.90, -48.09)
CIE-LCHlch(28.72, 51.31, 290.41°)
OKLaboklab(39.18% -0.0185 -0.1388)
OKLCHoklch(39.18% 0.14 262.4)
XYZxyz(7.1103, 5.7315, 26.7128)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F8F #8F6818
analogous
#187A8F #183F8F #2C188F
triadic
#183F8F #8F183F #3F8F18
tetradic
#183F8F #8F187A #8F6818 #188F2C
square
#183F8F #8F187A #8F6818 #188F2C
split-complementary
#183F8F #8F2C18 #7A8F18
monochromatic
#061126 #0F285B #183F8F #2156C3 #4276DF

Accessibility & contrast

On white

9.78
#183F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#183F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F8F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F8F#FFFFFF#000000##FFFFFF
##183F8F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #183f8f;
/* rgb */ color: rgb(24, 63, 143);
/* oklch */ color: oklch(39.2% 0.140 262.4);
Tailwind
colors: {
  custom: {
    50: '#6b73b0',
    500: '#183f8f',
    950: '#000000',
  },
}
SCSS
$custom: #183f8f;
$custom-light: #6b73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#183f8f",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 220.336,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.14002,
    "h": 262.4
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#183F8F
secondary
#C09743
accent
#B33AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #183F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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