#182185#182185

#182185 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.163 H 269.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#182185
RGBrgb(24, 33, 133)
HSLhsl(235, 69%, 31%)
HSVhsv(235, 82%, 52%)
CMYKcmyk(82%, 75.2%, 0%, 47.8%)
CIE-LABlab(19.94, 34.31, -56.25)
CIE-LCHlch(19.94, 65.89, 301.38°)
OKLaboklab(32.41% -0.0013 -0.163)
OKLCHoklch(32.41% 0.163 269.5)
XYZxyz(5.1527, 2.9748, 22.4884)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182185 #857C18
analogous
#185785 #182185 #451885
triadic
#182185 #851821 #218518
tetradic
#182185 #851857 #857C18 #188545
square
#182185 #851857 #857C18 #188545
split-complementary
#182185 #854518 #578518
monochromatic
#05071D #0F1451 #182185 #212EB9 #3C49DC

Accessibility & contrast

On white

13.17
#182185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#182185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182185
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182185#FFFFFF#000000##FFFFFF
##1821851.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182185;
/* rgb */ color: rgb(24, 33, 133);
/* oklch */ color: oklch(32.4% 0.163 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b5daa',
    500: '#182185',
    950: '#000000',
  },
}
SCSS
$custom: #182185;
$custom-light: #6b5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#182185",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 235.046,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.16296,
    "h": 269.5
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#182185
secondary
#B9AF40
accent
#DE3CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182185

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

Preview Lab → · Contrast checker → · Palette generator →

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