#182890#182890

#182890 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.170 H 268.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#182890
RGBrgb(24, 40, 144)
HSLhsl(232, 71%, 33%)
HSVhsv(232, 83%, 56%)
CMYKcmyk(83.3%, 72.2%, 0%, 43.5%)
CIE-LABlab(22.74, 33.94, -58.51)
CIE-LCHlch(22.74, 67.64, 300.12°)
OKLaboklab(34.78% -0.0055 -0.1695)
OKLCHoklch(34.78% 0.17 268.1)
XYZxyz(6.1678, 3.7247, 26.7740)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182890 #908018
analogous
#186490 #182890 #441890
triadic
#182890 #901828 #289018
tetradic
#182890 #901864 #908018 #189044
square
#182890 #901864 #908018 #189044
split-complementary
#182890 #904418 #649018
monochromatic
#070B27 #0F195C #182890 #2137C4 #4358E0

Accessibility & contrast

On white

12.03
#182890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#182890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182890
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182890#FFFFFF#000000##FFFFFF
##1828901.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182890;
/* rgb */ color: rgb(24, 40, 144);
/* oklch */ color: oklch(34.8% 0.170 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d62b2',
    500: '#182890',
    950: '#000000',
  },
}
SCSS
$custom: #182890;
$custom-light: #6d62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#182890",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 232,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.16963,
    "h": 268.1
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#182890
secondary
#C0B043
accent
#D63AEE
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #182890

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

Preview Lab → · Contrast checker → · Palette generator →

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