#183C88#183C88

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

Color values

HEX#183C88
RGBrgb(24, 60, 136)
HSLhsl(221, 70%, 31%)
HSVhsv(221, 82%, 53%)
CMYKcmyk(82.4%, 55.9%, 0%, 46.7%)
CIE-LABlab(27.30, 17.13, -46.07)
CIE-LCHlch(27.30, 49.15, 290.39°)
OKLaboklab(37.93% -0.017 -0.1329)
OKLCHoklch(37.93% 0.134 262.7)
XYZxyz(6.4349, 5.2027, 23.9529)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C88 #886418
analogous
#187488 #183C88 #2C1888
triadic
#183C88 #88183C #3C8818
tetradic
#183C88 #881874 #886418 #18882C
square
#183C88 #881874 #886418 #18882C
split-complementary
#183C88 #882C18 #748818
monochromatic
#060E20 #0F2554 #183C88 #2153BC #3E71DD

Accessibility & contrast

On white

10.29
#183C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183C88
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C88#FFFFFF#000000##FFFFFF
##183C881.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183c88;
/* rgb */ color: rgb(24, 60, 136);
/* oklch */ color: oklch(37.9% 0.134 262.7);
Tailwind
colors: {
  custom: {
    50: '#6971ab',
    500: '#183c88',
    950: '#000000',
  },
}
SCSS
$custom: #183c88;
$custom-light: #6971ab;
$custom-dark: #000000;
JSON
{
  "hex": "#183c88",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 136
  },
  "hsl": {
    "h": 220.714,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.134,
    "h": 262.7
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#183C88
secondary
#BC9440
accent
#B43BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183C88

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

Preview Lab → · Contrast checker → · Palette generator →

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