#182681#182681

#182681 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.152 H 268.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#182681
RGBrgb(24, 38, 129)
HSLhsl(232, 69%, 30%)
HSVhsv(232, 81%, 51%)
CMYKcmyk(81.4%, 70.5%, 0%, 49.4%)
CIE-LABlab(20.69, 29.58, -52.49)
CIE-LCHlch(20.69, 60.25, 299.40°)
OKLaboklab(32.82% -0.0032 -0.152)
OKLCHoklch(32.82% 0.152 268.8)
XYZxyz(5.0309, 3.1648, 21.1103)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182681 #817318
analogous
#185A81 #182681 #3F1881
triadic
#182681 #811826 #268118
tetradic
#182681 #81185A #817318 #18813F
square
#182681 #81185A #817318 #18813F
split-complementary
#182681 #813F18 #5A8118
monochromatic
#05081A #0E174D #182681 #2235B5 #394FDA

Accessibility & contrast

On white

12.86
#182681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#182681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182681
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182681#FFFFFF#000000##FFFFFF
##1826811.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182681;
/* rgb */ color: rgb(24, 38, 129);
/* oklch */ color: oklch(32.8% 0.152 268.8);
Tailwind
colors: {
  custom: {
    50: '#6960a7',
    500: '#182681',
    950: '#000000',
  },
}
SCSS
$custom: #182681;
$custom-light: #6960a7;
$custom-dark: #000000;
JSON
{
  "hex": "#182681",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 129
  },
  "hsl": {
    "h": 232,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.32822,
    "c": 0.15204,
    "h": 268.8
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#182681
secondary
#B5A640
accent
#D43CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182681

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

Preview Lab → · Contrast checker → · Palette generator →

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