#183888#183888

#183888 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.139 H 264.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#183888
RGBrgb(24, 56, 136)
HSLhsl(223, 70%, 31%)
HSVhsv(223, 82%, 53%)
CMYKcmyk(82.4%, 58.8%, 0%, 46.7%)
CIE-LABlab(26.16, 19.93, -47.94)
CIE-LCHlch(26.16, 51.92, 292.57°)
OKLaboklab(37.06% -0.0142 -0.1385)
OKLCHoklch(37.06% 0.139 264.2)
XYZxyz(6.2332, 4.7994, 23.8856)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183888 #886818
analogous
#187088 #183888 #301888
triadic
#183888 #881838 #388818
tetradic
#183888 #881870 #886818 #188830
square
#183888 #881870 #886818 #188830
split-complementary
#183888 #883018 #708818
monochromatic
#060D20 #0F2354 #183888 #214DBC #3E6BDD

Accessibility & contrast

On white

10.71
#183888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#183888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183888
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183888#FFFFFF#000000##FFFFFF
##1838881.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183888;
/* rgb */ color: rgb(24, 56, 136);
/* oklch */ color: oklch(37.1% 0.139 264.2);
Tailwind
colors: {
  custom: {
    50: '#696eab',
    500: '#183888',
    950: '#000000',
  },
}
SCSS
$custom: #183888;
$custom-light: #696eab;
$custom-dark: #000000;
JSON
{
  "hex": "#183888",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 136
  },
  "hsl": {
    "h": 222.857,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37064,
    "c": 0.13919,
    "h": 264.2
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#183888
secondary
#BC9840
accent
#BA3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183888

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

Preview Lab → · Contrast checker → · Palette generator →

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