#183189#183189

#183189 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.150 H 266.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#183189
RGBrgb(24, 49, 137)
HSLhsl(227, 70%, 32%)
HSVhsv(227, 82%, 54%)
CMYKcmyk(82.5%, 64.2%, 0%, 46.3%)
CIE-LABlab(24.31, 25.21, -51.57)
CIE-LCHlch(24.31, 57.41, 296.05°)
OKLaboklab(35.71% -0.0097 -0.1492)
OKLCHoklch(35.71% 0.15 266.3)
XYZxyz(5.9888, 4.1963, 24.1564)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183189 #897018
analogous
#186A89 #183189 #381889
triadic
#183189 #891831 #318918
tetradic
#183189 #89186A #897018 #188938
square
#183189 #89186A #897018 #188938
split-complementary
#183189 #893818 #6A8918
monochromatic
#060C21 #0F1E55 #183189 #2144BD #3E61DD

Accessibility & contrast

On white

11.42
#183189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#183189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183189
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183189#FFFFFF#000000##FFFFFF
##1831891.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183189;
/* rgb */ color: rgb(24, 49, 137);
/* oklch */ color: oklch(35.7% 0.150 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a68ac',
    500: '#183189',
    950: '#000000',
  },
}
SCSS
$custom: #183189;
$custom-light: #6a68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#183189",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 226.726,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35714,
    "c": 0.14955,
    "h": 266.3
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#183189
secondary
#BDA140
accent
#C63BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #183189

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

Preview Lab → · Contrast checker → · Palette generator →

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