#182885#182885

#182885 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.155 H 268.3°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#182885
RGBrgb(24, 40, 133)
HSLhsl(231, 69%, 31%)
HSVhsv(231, 82%, 52%)
CMYKcmyk(82%, 69.9%, 0%, 47.8%)
CIE-LABlab(21.60, 29.78, -53.53)
CIE-LCHlch(21.60, 61.25, 299.09°)
OKLaboklab(33.6% -0.0045 -0.155)
OKLCHoklch(33.6% 0.155 268.3)
XYZxyz(5.3677, 3.4046, 22.5600)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182885 #857518
analogous
#185E85 #182885 #3E1885
triadic
#182885 #851828 #288518
tetradic
#182885 #85185E #857518 #18853E
square
#182885 #85185E #857518 #18853E
split-complementary
#182885 #853E18 #5E8518
monochromatic
#05091D #0F1851 #182885 #2138B9 #3C53DC

Accessibility & contrast

On white

12.49
#182885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182885
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182885#FFFFFF#000000##FFFFFF
##1828851.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182885;
/* rgb */ color: rgb(24, 40, 133);
/* oklch */ color: oklch(33.6% 0.155 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a62a9',
    500: '#182885',
    950: '#000000',
  },
}
SCSS
$custom: #182885;
$custom-light: #6a62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#182885",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 231.193,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33603,
    "c": 0.15509,
    "h": 268.3
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#182885
secondary
#B9A740
accent
#D23CEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182885

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

Preview Lab → · Contrast checker → · Palette generator →

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