#182390#182390

#182390 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.175 H 268.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#182390
RGBrgb(24, 35, 144)
HSLhsl(235, 71%, 33%)
HSVhsv(235, 83%, 56%)
CMYKcmyk(83.3%, 75.7%, 0%, 43.5%)
CIE-LABlab(21.61, 37.07, -60.37)
CIE-LCHlch(21.61, 70.84, 301.55°)
OKLaboklab(33.97% -0.0037 -0.1749)
OKLCHoklch(33.97% 0.175 268.8)
XYZxyz(6.0100, 3.4092, 26.7214)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182390 #908518
analogous
#185F90 #182390 #491890
triadic
#182390 #901823 #239018
tetradic
#182390 #90185F #908518 #189049
square
#182390 #90185F #908518 #189049
split-complementary
#182390 #904918 #5F9018
monochromatic
#070927 #0F165C #182390 #2130C4 #4351E0

Accessibility & contrast

On white

12.49
#182390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182390
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182390#FFFFFF#000000##FFFFFF
##1823901.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182390;
/* rgb */ color: rgb(24, 35, 144);
/* oklch */ color: oklch(34.0% 0.175 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d5fb2',
    500: '#182390',
    950: '#000000',
  },
}
SCSS
$custom: #182390;
$custom-light: #6d5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#182390",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 234.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33967,
    "c": 0.17496,
    "h": 268.8
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#182390
secondary
#C0B543
accent
#DE3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #182390

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

Preview Lab → · Contrast checker → · Palette generator →

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