#182495#182495

#182495 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.180 H 268.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#182495
RGBrgb(24, 36, 149)
HSLhsl(234, 72%, 34%)
HSVhsv(234, 84%, 58%)
CMYKcmyk(83.9%, 75.8%, 0%, 41.6%)
CIE-LABlab(22.39, 38.26, -62.17)
CIE-LCHlch(22.39, 73.00, 301.61°)
OKLaboklab(34.69% -0.0047 -0.1802)
OKLCHoklch(34.69% 0.18 268.5)
XYZxyz(6.4305, 3.6251, 28.7887)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182495 #958918
analogous
#186395 #182495 #4B1895
triadic
#182495 #951824 #249518
tetradic
#182495 #951863 #958918 #18954B
square
#182495 #951863 #958918 #18954B
split-complementary
#182495 #954B18 #639518
monochromatic
#070B2C #101760 #182495 #2031CA #4655E1

Accessibility & contrast

On white

12.17
#182495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#182495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182495
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182495#FFFFFF#000000##FFFFFF
##1824951.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182495;
/* rgb */ color: rgb(24, 36, 149);
/* oklch */ color: oklch(34.7% 0.180 268.5);
Tailwind
colors: {
  custom: {
    50: '#6f60b5',
    500: '#182495',
    950: '#000000',
  },
}
SCSS
$custom: #182495;
$custom-light: #6f60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#182495",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 234.24,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34688,
    "c": 0.18024,
    "h": 268.5
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #182495

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

Preview Lab → · Contrast checker → · Palette generator →

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