#183788#183788

#183788 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.140 H 264.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#183788
RGBrgb(24, 55, 136)
HSLhsl(223, 70%, 31%)
HSVhsv(223, 82%, 53%)
CMYKcmyk(82.4%, 59.6%, 0%, 46.7%)
CIE-LABlab(25.87, 20.63, -48.40)
CIE-LCHlch(25.87, 52.61, 293.08°)
OKLaboklab(36.85% -0.0135 -0.1398)
OKLCHoklch(36.85% 0.14 264.5)
XYZxyz(6.1852, 4.7034, 23.8696)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183788 #886918
analogous
#186F88 #183788 #311888
triadic
#183788 #881837 #378818
tetradic
#183788 #88186F #886918 #188831
square
#183788 #88186F #886918 #188831
split-complementary
#183788 #883118 #6F8818
monochromatic
#060D20 #0F2254 #183788 #214CBC #3E6ADD

Accessibility & contrast

On white

10.82
#183788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#183788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183788
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183788#FFFFFF#000000##FFFFFF
##1837881.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183788;
/* rgb */ color: rgb(24, 55, 136);
/* oklch */ color: oklch(36.9% 0.140 264.5);
Tailwind
colors: {
  custom: {
    50: '#696dab',
    500: '#183788',
    950: '#000000',
  },
}
SCSS
$custom: #183788;
$custom-light: #696dab;
$custom-dark: #000000;
JSON
{
  "hex": "#183788",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 223.393,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36851,
    "c": 0.14049,
    "h": 264.5
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

primary
#183788
secondary
#BC9940
accent
#BC3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183788

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

Preview Lab → · Contrast checker → · Palette generator →

#183788 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva