#182785#182785

#182785 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.156 H 268.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#182785
RGBrgb(24, 39, 133)
HSLhsl(232, 69%, 31%)
HSVhsv(232, 82%, 52%)
CMYKcmyk(82%, 70.7%, 0%, 47.8%)
CIE-LABlab(21.35, 30.44, -53.93)
CIE-LCHlch(21.35, 61.93, 299.44°)
OKLaboklab(33.42% -0.004 -0.1562)
OKLCHoklch(33.42% 0.156 268.5)
XYZxyz(5.3344, 3.3381, 22.5489)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182785 #857618
analogous
#185D85 #182785 #3F1885
triadic
#182785 #851827 #278518
tetradic
#182785 #85185D #857618 #18853F
square
#182785 #85185D #857618 #18853F
split-complementary
#182785 #853F18 #5D8518
monochromatic
#05091D #0F1851 #182785 #2136B9 #3C52DC

Accessibility & contrast

On white

12.59
#182785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182785
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182785#FFFFFF#000000##FFFFFF
##1827851.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182785;
/* rgb */ color: rgb(24, 39, 133);
/* oklch */ color: oklch(33.4% 0.156 268.5);
Tailwind
colors: {
  custom: {
    50: '#6a61aa',
    500: '#182785',
    950: '#000000',
  },
}
SCSS
$custom: #182785;
$custom-light: #6a61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182785",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 231.743,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33424,
    "c": 0.15626,
    "h": 268.5
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#182785
secondary
#B9A840
accent
#D43CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182785

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

Preview Lab → · Contrast checker → · Palette generator →

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