#183C87#183C87

#183C87 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.133 H 262.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#183C87
RGBrgb(24, 60, 135)
HSLhsl(221, 70%, 31%)
HSVhsv(221, 82%, 53%)
CMYKcmyk(82.2%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.23, 16.72, -45.58)
CIE-LCHlch(27.23, 48.55, 290.14°)
OKLaboklab(37.85% -0.0171 -0.1314)
OKLCHoklch(37.85% 0.133 262.6)
XYZxyz(6.3642, 5.1744, 23.5803)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C87 #876318
analogous
#187387 #183C87 #2C1887
triadic
#183C87 #87183C #3C8718
tetradic
#183C87 #871873 #876318 #18872C
square
#183C87 #871873 #876318 #18872C
split-complementary
#183C87 #872C18 #738718
monochromatic
#060E1F #0F2553 #183C87 #2153BB #3D71DC

Accessibility & contrast

On white

10.32
#183C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#183C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C87
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C87#FFFFFF#000000##FFFFFF
##183C871.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183c87;
/* rgb */ color: rgb(24, 60, 135);
/* oklch */ color: oklch(37.8% 0.133 262.6);
Tailwind
colors: {
  custom: {
    50: '#6971ab',
    500: '#183c87',
    950: '#000000',
  },
}
SCSS
$custom: #183c87;
$custom-light: #6971ab;
$custom-dark: #000000;
JSON
{
  "hex": "#183c87",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 220.541,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37847,
    "c": 0.13256,
    "h": 262.6
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#183C87
secondary
#BB9340
accent
#B33BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183C87

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

Preview Lab → · Contrast checker → · Palette generator →

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