#183F9F#183F9F

#183F9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.162 H 263.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#183F9F
RGBrgb(24, 63, 159)
HSLhsl(223, 74%, 36%)
HSVhsv(223, 85%, 62%)
CMYKcmyk(84.9%, 60.4%, 0%, 37.6%)
CIE-LABlab(30.04, 24.36, -55.72)
CIE-LCHlch(30.04, 60.81, 293.62°)
OKLaboklab(40.58% -0.0175 -0.1612)
OKLCHoklch(40.58% 0.162 263.8)
XYZxyz(8.4100, 6.2514, 33.5576)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F9F #9F7818
analogous
#18829F #183F9F #35189F
triadic
#183F9F #9F183F #3F9F18
tetradic
#183F9F #9F1882 #9F7818 #189F35
square
#183F9F #9F1882 #9F7818 #189F35
split-complementary
#183F9F #9F3518 #829F18
monochromatic
#081535 #102A6A #183F9F #2054D4 #4D79E4

Accessibility & contrast

On white

9.33
#183F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#183F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F9F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F9F#FFFFFF#000000##FFFFFF
##183F9F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #183f9f;
/* rgb */ color: rgb(24, 63, 159);
/* oklch */ color: oklch(40.6% 0.162 263.8);
Tailwind
colors: {
  custom: {
    50: '#6f73bc',
    500: '#183f9f',
    950: '#000000',
  },
}
SCSS
$custom: #183f9f;
$custom-light: #6f73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#183f9f",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 222.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.16214,
    "h": 263.8
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#183F9F
secondary
#C6A34D
accent
#BB37F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #183F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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