#183289#183289

#183289 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.148 H 266.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#183289
RGBrgb(24, 50, 137)
HSLhsl(226, 70%, 32%)
HSVhsv(226, 82%, 54%)
CMYKcmyk(82.5%, 63.5%, 0%, 46.3%)
CIE-LABlab(24.58, 24.52, -51.13)
CIE-LCHlch(24.58, 56.71, 295.62°)
OKLaboklab(35.91% -0.0103 -0.1479)
OKLCHoklch(35.91% 0.148 266)
XYZxyz(6.0311, 4.2808, 24.1705)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183289 #896F18
analogous
#186B89 #183289 #371889
triadic
#183289 #891832 #328918
tetradic
#183289 #89186B #896F18 #188937
square
#183289 #89186B #896F18 #188937
split-complementary
#183289 #893718 #6B8918
monochromatic
#060C21 #0F1F55 #183289 #2145BD #3E63DD

Accessibility & contrast

On white

11.31
#183289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#183289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183289
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183289#FFFFFF#000000##FFFFFF
##1832891.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183289;
/* rgb */ color: rgb(24, 50, 137);
/* oklch */ color: oklch(35.9% 0.148 266.0);
Tailwind
colors: {
  custom: {
    50: '#6a69ac',
    500: '#183289',
    950: '#000000',
  },
}
SCSS
$custom: #183289;
$custom-light: #6a69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#183289",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 226.195,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35913,
    "c": 0.1483,
    "h": 266
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#183289
secondary
#BDA040
accent
#C43BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #183289

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

Preview Lab → · Contrast checker → · Palette generator →

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