#182886#182886

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

Color values

HEX#182886
RGBrgb(24, 40, 134)
HSLhsl(231, 70%, 31%)
HSVhsv(231, 82%, 53%)
CMYKcmyk(82.1%, 70.1%, 0%, 47.5%)
CIE-LABlab(21.70, 30.16, -53.99)
CIE-LCHlch(21.70, 61.84, 299.19°)
OKLaboklab(33.71% -0.0046 -0.1564)
OKLCHoklch(33.71% 0.156 268.3)
XYZxyz(5.4371, 3.4324, 22.9256)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182886 #867618
analogous
#185F86 #182886 #3F1886
triadic
#182886 #861828 #288618
tetradic
#182886 #86185F #867618 #18863F
square
#182886 #86185F #867618 #18863F
split-complementary
#182886 #863F18 #5F8618
monochromatic
#05091E #0F1952 #182886 #2137BA #3C54DC

Accessibility & contrast

On white

12.45
#182886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182886
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182886#FFFFFF#000000##FFFFFF
##1828861.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182886;
/* rgb */ color: rgb(24, 40, 134);
/* oklch */ color: oklch(33.7% 0.156 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a62aa',
    500: '#182886',
    950: '#000000',
  },
}
SCSS
$custom: #182886;
$custom-light: #6a62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182886",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 231.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33708,
    "c": 0.15643,
    "h": 268.3
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#182886
secondary
#BAA840
accent
#D33BEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182886

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

Preview Lab → · Contrast checker → · Palette generator →

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