#182395#182395

#182395 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.181 H 268.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#182395
RGBrgb(24, 35, 149)
HSLhsl(235, 72%, 34%)
HSVhsv(235, 84%, 58%)
CMYKcmyk(83.9%, 76.5%, 0%, 41.6%)
CIE-LABlab(22.18, 38.86, -62.53)
CIE-LCHlch(22.18, 73.62, 301.86°)
OKLaboklab(34.54% -0.0044 -0.1812)
OKLCHoklch(34.54% 0.181 268.6)
XYZxyz(6.4007, 3.5654, 28.7788)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182395 #958A18
analogous
#186295 #182395 #4C1895
triadic
#182395 #951823 #239518
tetradic
#182395 #951862 #958A18 #18954C
square
#182395 #951862 #958A18 #18954C
split-complementary
#182395 #954C18 #629518
monochromatic
#070A2C #101760 #182395 #202FCA #4654E1

Accessibility & contrast

On white

12.26
#182395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#182395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182395
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182395#FFFFFF#000000##FFFFFF
##1823951.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182395;
/* rgb */ color: rgb(24, 35, 149);
/* oklch */ color: oklch(34.5% 0.181 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f5fb5',
    500: '#182395',
    950: '#000000',
  },
}
SCSS
$custom: #182395;
$custom-light: #6f5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#182395",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 234.72,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34537,
    "c": 0.18124,
    "h": 268.6
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#182395
secondary
#C2B746
accent
#DF39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #182395

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

Preview Lab → · Contrast checker → · Palette generator →

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