#183D85#183D85

#183D85 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.128 H 261.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#183D85
RGBrgb(24, 61, 133)
HSLhsl(220, 69%, 31%)
HSVhsv(220, 82%, 52%)
CMYKcmyk(82%, 54.1%, 0%, 47.8%)
CIE-LABlab(27.36, 15.19, -44.11)
CIE-LCHlch(27.36, 46.65, 289.01°)
OKLaboklab(37.9% -0.0181 -0.1271)
OKLCHoklch(37.9% 0.128 261.9)
XYZxyz(6.2775, 5.2244, 22.8633)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D85 #856018
analogous
#187385 #183D85 #291885
triadic
#183D85 #85183D #3D8518
tetradic
#183D85 #851873 #856018 #188529
square
#183D85 #851873 #856018 #188529
split-complementary
#183D85 #852918 #738518
monochromatic
#050D1D #0F2551 #183D85 #2155B9 #3C72DC

Accessibility & contrast

On white

10.27
#183D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#183D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D85
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D85#FFFFFF#000000##FFFFFF
##183D851.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084688
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183d85;
/* rgb */ color: rgb(24, 61, 133);
/* oklch */ color: oklch(37.9% 0.128 261.9);
Tailwind
colors: {
  custom: {
    50: '#6871a9',
    500: '#183d85',
    950: '#000000',
  },
}
SCSS
$custom: #183d85;
$custom-light: #6871a9;
$custom-dark: #000000;
JSON
{
  "hex": "#183d85",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 219.633,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37903,
    "c": 0.12839,
    "h": 261.9
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#183D85
secondary
#B99040
accent
#B03CEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183D85

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

Preview Lab → · Contrast checker → · Palette generator →

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