#182876#182876

#182876 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.134 H 268.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#182876
RGBrgb(24, 40, 118)
HSLhsl(230, 66%, 28%)
HSVhsv(230, 80%, 46%)
CMYKcmyk(79.7%, 66.1%, 0%, 53.7%)
CIE-LABlab(20.12, 23.90, -46.43)
CIE-LCHlch(20.12, 52.22, 297.23°)
OKLaboklab(32.07% -0.0036 -0.1343)
OKLCHoklch(32.07% 0.134 268.4)
XYZxyz(4.4044, 3.0193, 17.4867)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182876 #766618
analogous
#185776 #182876 #371876
triadic
#182876 #761828 #287618
tetradic
#182876 #761857 #766618 #187637
square
#182876 #761857 #766618 #187637
split-complementary
#182876 #763718 #577618
monochromatic
#050919 #0E1743 #182876 #2239A9 #334FD5

Accessibility & contrast

On white

13.09
#182876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182876
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182876#FFFFFF#000000##FFFFFF
##1828761.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182876;
/* rgb */ color: rgb(24, 40, 118);
/* oklch */ color: oklch(32.1% 0.134 268.4);
Tailwind
colors: {
  custom: {
    50: '#66619e',
    500: '#182876',
    950: '#000000',
  },
}
SCSS
$custom: #182876;
$custom-light: #66619e;
$custom-dark: #000000;
JSON
{
  "hex": "#182876",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 229.787,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32073,
    "c": 0.13434,
    "h": 268.4
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#182876
secondary
#AB993F
accent
#CC3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #182876

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

Preview Lab → · Contrast checker → · Palette generator →

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