#183286#183286

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

Color values

HEX#183286
RGBrgb(24, 50, 134)
HSLhsl(226, 70%, 31%)
HSVhsv(226, 82%, 53%)
CMYKcmyk(82.1%, 62.7%, 0%, 47.5%)
CIE-LABlab(24.31, 23.32, -49.70)
CIE-LCHlch(24.31, 54.90, 295.13°)
OKLaboklab(35.63% -0.0103 -0.1437)
OKLCHoklch(35.63% 0.144 265.9)
XYZxyz(5.8189, 4.1959, 23.0529)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183286 #866C18
analogous
#186986 #183286 #351886
triadic
#183286 #861832 #328618
tetradic
#183286 #861869 #866C18 #188635
square
#183286 #861869 #866C18 #188635
split-complementary
#183286 #863518 #698618
monochromatic
#050B1E #0F1F52 #183286 #2145BA #3C62DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##183286#FFFFFF#000000##FFFFFF
##1832861.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)
#003F89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183286;
/* rgb */ color: rgb(24, 50, 134);
/* oklch */ color: oklch(35.6% 0.144 265.9);
Tailwind
colors: {
  custom: {
    50: '#6969aa',
    500: '#183286',
    950: '#000000',
  },
}
SCSS
$custom: #183286;
$custom-light: #6969aa;
$custom-dark: #000000;
JSON
{
  "hex": "#183286",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 225.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35629,
    "c": 0.14412,
    "h": 265.9
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#183286
secondary
#BA9D40
accent
#C33BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #183286

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

Preview Lab → · Contrast checker → · Palette generator →

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