#183C85#183C85

#183C85 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.130 H 262.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#183C85
RGBrgb(24, 60, 133)
HSLhsl(220, 69%, 31%)
HSVhsv(220, 82%, 52%)
CMYKcmyk(82%, 54.9%, 0%, 47.8%)
CIE-LABlab(27.07, 15.89, -44.59)
CIE-LCHlch(27.07, 47.33, 289.62°)
OKLaboklab(37.68% -0.0173 -0.1285)
OKLCHoklch(37.68% 0.13 262.3)
XYZxyz(6.2247, 5.1186, 22.8457)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C85 #856118
analogous
#187285 #183C85 #2A1885
triadic
#183C85 #85183C #3C8518
tetradic
#183C85 #851872 #856118 #18852A
square
#183C85 #851872 #856118 #18852A
split-complementary
#183C85 #852A18 #728518
monochromatic
#050D1D #0F2551 #183C85 #2153B9 #3C71DC

Accessibility & contrast

On white

10.38
#183C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C85
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C85#FFFFFF#000000##FFFFFF
##183C851.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034588
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183c85;
/* rgb */ color: rgb(24, 60, 133);
/* oklch */ color: oklch(37.7% 0.130 262.3);
Tailwind
colors: {
  custom: {
    50: '#6871a9',
    500: '#183c85',
    950: '#000000',
  },
}
SCSS
$custom: #183c85;
$custom-light: #6871a9;
$custom-dark: #000000;
JSON
{
  "hex": "#183c85",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 220.183,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37679,
    "c": 0.1297,
    "h": 262.3
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#183C85
secondary
#B99140
accent
#B23CEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183C85

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

Preview Lab → · Contrast checker → · Palette generator →

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