#182490#182490

#182490 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.174 H 268.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#182490
RGBrgb(24, 36, 144)
HSLhsl(234, 71%, 33%)
HSVhsv(234, 83%, 56%)
CMYKcmyk(83.3%, 75%, 0%, 43.5%)
CIE-LABlab(21.83, 36.46, -60.01)
CIE-LCHlch(21.83, 70.21, 301.28°)
OKLaboklab(34.12% -0.004 -0.1739)
OKLCHoklch(34.12% 0.174 268.7)
XYZxyz(6.0399, 3.4688, 26.7314)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182490 #908418
analogous
#186090 #182490 #481890
triadic
#182490 #901824 #249018
tetradic
#182490 #901860 #908418 #189048
square
#182490 #901860 #908418 #189048
split-complementary
#182490 #904818 #609018
monochromatic
#070A27 #0F175C #182490 #2131C4 #4352E0

Accessibility & contrast

On white

12.40
#182490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182490
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182490#FFFFFF#000000##FFFFFF
##1824901.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182490;
/* rgb */ color: rgb(24, 36, 144);
/* oklch */ color: oklch(34.1% 0.174 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d5fb2',
    500: '#182490',
    950: '#000000',
  },
}
SCSS
$custom: #182490;
$custom-light: #6d5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#182490",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 234,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34123,
    "c": 0.17393,
    "h": 268.7
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#182490
secondary
#C0B443
accent
#DC3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #182490

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

Preview Lab → · Contrast checker → · Palette generator →

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