#182285#182285

#182285 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.162 H 269.4°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#182285
RGBrgb(24, 34, 133)
HSLhsl(234, 69%, 31%)
HSVhsv(234, 82%, 52%)
CMYKcmyk(82%, 74.4%, 0%, 47.8%)
CIE-LABlab(20.17, 33.68, -55.88)
CIE-LCHlch(20.17, 65.25, 301.08°)
OKLaboklab(32.57% -0.0018 -0.1619)
OKLCHoklch(32.57% 0.162 269.4)
XYZxyz(5.1809, 3.0311, 22.4978)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182285 #857B18
analogous
#185885 #182285 #441885
triadic
#182285 #851822 #228518
tetradic
#182285 #851858 #857B18 #188544
square
#182285 #851858 #857B18 #188544
split-complementary
#182285 #854418 #588518
monochromatic
#05071D #0F1551 #182285 #212FB9 #3C4ADC

Accessibility & contrast

On white

13.07
#182285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182285
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182285#FFFFFF#000000##FFFFFF
##1822851.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182285;
/* rgb */ color: rgb(24, 34, 133);
/* oklch */ color: oklch(32.6% 0.162 269.4);
Tailwind
colors: {
  custom: {
    50: '#6a5eaa',
    500: '#182285',
    950: '#000000',
  },
}
SCSS
$custom: #182285;
$custom-light: #6a5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#182285",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 234.495,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32572,
    "c": 0.16189,
    "h": 269.4
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#182285
secondary
#B9AE40
accent
#DC3CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182285

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

Preview Lab → · Contrast checker → · Palette generator →

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