#182881#182881

#182881 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.150 H 268.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#182881
RGBrgb(24, 40, 129)
HSLhsl(231, 69%, 30%)
HSVhsv(231, 81%, 51%)
CMYKcmyk(81.4%, 69%, 0%, 49.4%)
CIE-LABlab(21.19, 28.23, -51.67)
CIE-LCHlch(21.19, 58.88, 298.65°)
OKLaboklab(33.19% -0.0042 -0.1496)
OKLCHoklch(33.19% 0.15 268.4)
XYZxyz(5.0966, 3.2962, 21.1322)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182881 #817118
analogous
#185D81 #182881 #3C1881
triadic
#182881 #811828 #288118
tetradic
#182881 #81185D #817118 #18813C
square
#182881 #81185D #817118 #18813C
split-complementary
#182881 #813C18 #5D8118
monochromatic
#05081A #0E184D #182881 #2238B5 #3952DA

Accessibility & contrast

On white

12.66
#182881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182881
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182881#FFFFFF#000000##FFFFFF
##1828811.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182881;
/* rgb */ color: rgb(24, 40, 129);
/* oklch */ color: oklch(33.2% 0.150 268.4);
Tailwind
colors: {
  custom: {
    50: '#6962a7',
    500: '#182881',
    950: '#000000',
  },
}
SCSS
$custom: #182881;
$custom-light: #6962a7;
$custom-dark: #000000;
JSON
{
  "hex": "#182881",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 230.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.33187,
    "c": 0.14966,
    "h": 268.4
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#182881
secondary
#B5A340
accent
#D13CEB
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182881

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

Preview Lab → · Contrast checker → · Palette generator →

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