#183B88#183B88

#183B88 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.135 H 263.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#183B88
RGBrgb(24, 59, 136)
HSLhsl(221, 70%, 31%)
HSVhsv(221, 82%, 53%)
CMYKcmyk(82.4%, 56.6%, 0%, 46.7%)
CIE-LABlab(27.01, 17.83, -46.54)
CIE-LCHlch(27.01, 49.84, 290.96°)
OKLaboklab(37.71% -0.0163 -0.1343)
OKLCHoklch(37.71% 0.135 263.1)
XYZxyz(6.3830, 5.0989, 23.9356)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B88 #886518
analogous
#187388 #183B88 #2D1888
triadic
#183B88 #88183B #3B8818
tetradic
#183B88 #881873 #886518 #18882D
square
#183B88 #881873 #886518 #18882D
split-complementary
#183B88 #882D18 #738818
monochromatic
#060E20 #0F2454 #183B88 #2152BC #3E6FDD

Accessibility & contrast

On white

10.40
#183B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B88
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B88#FFFFFF#000000##FFFFFF
##183B881.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183b88;
/* rgb */ color: rgb(24, 59, 136);
/* oklch */ color: oklch(37.7% 0.135 263.1);
Tailwind
colors: {
  custom: {
    50: '#6970ab',
    500: '#183b88',
    950: '#000000',
  },
}
SCSS
$custom: #183b88;
$custom-light: #6970ab;
$custom-dark: #000000;
JSON
{
  "hex": "#183b88",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 136
  },
  "hsl": {
    "h": 221.25,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37712,
    "c": 0.1353,
    "h": 263.1
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #183B88

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

Preview Lab → · Contrast checker → · Palette generator →

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