#182795#182795

#182795 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.177 H 268.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#182795
RGBrgb(24, 39, 149)
HSLhsl(233, 72%, 34%)
HSVhsv(233, 84%, 58%)
CMYKcmyk(83.9%, 73.8%, 0%, 41.6%)
CIE-LABlab(23.05, 36.42, -61.09)
CIE-LCHlch(23.05, 71.12, 300.80°)
OKLaboklab(35.16% -0.0057 -0.1771)
OKLCHoklch(35.16% 0.177 268.1)
XYZxyz(6.5251, 3.8144, 28.8203)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182795 #958618
analogous
#186695 #182795 #481895
triadic
#182795 #951827 #279518
tetradic
#182795 #951866 #958618 #189548
square
#182795 #951866 #958618 #189548
split-complementary
#182795 #954818 #669518
monochromatic
#070B2C #101960 #182795 #2035CA #4659E1

Accessibility & contrast

On white

11.91
#182795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#182795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182795
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182795#FFFFFF#000000##FFFFFF
##1827951.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182795;
/* rgb */ color: rgb(24, 39, 149);
/* oklch */ color: oklch(35.2% 0.177 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e62b5',
    500: '#182795',
    950: '#000000',
  },
}
SCSS
$custom: #182795;
$custom-light: #6e62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#182795",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 232.8,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35157,
    "c": 0.17714,
    "h": 268.1
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#182795
secondary
#C2B446
accent
#D939EF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #182795

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

Preview Lab → · Contrast checker → · Palette generator →

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