#183B85#183B85

#183B85 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.131 H 262.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#183B85
RGBrgb(24, 59, 133)
HSLhsl(221, 69%, 31%)
HSVhsv(221, 82%, 52%)
CMYKcmyk(82%, 55.6%, 0%, 47.8%)
CIE-LABlab(26.78, 16.60, -45.06)
CIE-LCHlch(26.78, 48.02, 290.22°)
OKLaboklab(37.46% -0.0166 -0.13)
OKLCHoklch(37.46% 0.131 262.7)
XYZxyz(6.1728, 5.0148, 22.8284)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B85 #856218
analogous
#187185 #183B85 #2B1885
triadic
#183B85 #85183B #3B8518
tetradic
#183B85 #851871 #856218 #18852B
square
#183B85 #851871 #856218 #18852B
split-complementary
#183B85 #852B18 #718518
monochromatic
#050D1D #0F2451 #183B85 #2152B9 #3C6FDC

Accessibility & contrast

On white

10.48
#183B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#183B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B85
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B85#FFFFFF#000000##FFFFFF
##183B851.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183b85;
/* rgb */ color: rgb(24, 59, 133);
/* oklch */ color: oklch(37.5% 0.131 262.7);
Tailwind
colors: {
  custom: {
    50: '#6870a9',
    500: '#183b85',
    950: '#000000',
  },
}
SCSS
$custom: #183b85;
$custom-light: #6870a9;
$custom-dark: #000000;
JSON
{
  "hex": "#183b85",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 133
  },
  "hsl": {
    "h": 220.734,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37457,
    "c": 0.13101,
    "h": 262.7
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#183B85
secondary
#B99240
accent
#B43CEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183B85

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

Preview Lab → · Contrast checker → · Palette generator →

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