#182090#182090

#182090 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.178 H 269.1°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#182090
RGBrgb(24, 32, 144)
HSLhsl(236, 71%, 33%)
HSVhsv(236, 83%, 56%)
CMYKcmyk(83.3%, 77.8%, 0%, 43.5%)
CIE-LABlab(20.98, 38.86, -61.41)
CIE-LCHlch(20.98, 72.67, 302.32°)
OKLaboklab(33.52% -0.0027 -0.1779)
OKLCHoklch(33.52% 0.178 269.1)
XYZxyz(5.9255, 3.2401, 26.6933)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182090 #908818
analogous
#185C90 #182090 #4C1890
triadic
#182090 #901820 #209018
tetradic
#182090 #90185C #908818 #18904C
square
#182090 #90185C #908818 #18904C
split-complementary
#182090 #904C18 #5C9018
monochromatic
#070927 #0F145C #182090 #212CC4 #434DE0

Accessibility & contrast

On white

12.74
#182090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182090
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182090#FFFFFF#000000##FFFFFF
##1820901.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182090;
/* rgb */ color: rgb(24, 32, 144);
/* oklch */ color: oklch(33.5% 0.178 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e5db2',
    500: '#182090',
    950: '#000000',
  },
}
SCSS
$custom: #182090;
$custom-light: #6e5db2;
$custom-dark: #000000;
JSON
{
  "hex": "#182090",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 236,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33518,
    "c": 0.17795,
    "h": 269.1
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#182090
secondary
#C0B843
accent
#E23AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #182090

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

Preview Lab → · Contrast checker → · Palette generator →

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