#183B87#183B87

#183B87 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.6% C 0.134 H 263.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#183B87
RGBrgb(24, 59, 135)
HSLhsl(221, 70%, 31%)
HSVhsv(221, 82%, 53%)
CMYKcmyk(82.2%, 56.3%, 0%, 47.1%)
CIE-LABlab(26.93, 17.42, -46.05)
CIE-LCHlch(26.93, 49.23, 290.72°)
OKLaboklab(37.63% -0.0164 -0.1329)
OKLCHoklch(37.63% 0.134 263)
XYZxyz(6.3123, 5.0706, 23.5630)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B87 #876418
analogous
#187287 #183B87 #2C1887
triadic
#183B87 #87183B #3B8718
tetradic
#183B87 #871872 #876418 #18872C
square
#183B87 #871872 #876418 #18872C
split-complementary
#183B87 #872C18 #728718
monochromatic
#060E1F #0F2453 #183B87 #2152BB #3D6FDC

Accessibility & contrast

On white

10.43
#183B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#183B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B87
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B87#FFFFFF#000000##FFFFFF
##183B871.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183b87;
/* rgb */ color: rgb(24, 59, 135);
/* oklch */ color: oklch(37.6% 0.134 263.0);
Tailwind
colors: {
  custom: {
    50: '#6970ab',
    500: '#183b87',
    950: '#000000',
  },
}
SCSS
$custom: #183b87;
$custom-light: #6970ab;
$custom-dark: #000000;
JSON
{
  "hex": "#183b87",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 221.081,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37626,
    "c": 0.13387,
    "h": 263
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#183B87
secondary
#BB9440
accent
#B53BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183B87

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

Preview Lab → · Contrast checker → · Palette generator →

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