#182A86#182A86

#182A86 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.154 H 267.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#182A86
RGBrgb(24, 42, 134)
HSLhsl(230, 70%, 31%)
HSVhsv(230, 82%, 53%)
CMYKcmyk(82.1%, 68.7%, 0%, 47.5%)
CIE-LABlab(22.20, 28.82, -53.16)
CIE-LCHlch(22.20, 60.47, 298.46°)
OKLaboklab(34.07% -0.0056 -0.1539)
OKLCHoklch(34.07% 0.154 267.9)
XYZxyz(5.5062, 3.5707, 22.9486)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A86 #867418
analogous
#186186 #182A86 #3D1886
triadic
#182A86 #86182A #2A8618
tetradic
#182A86 #861861 #867418 #18863D
square
#182A86 #861861 #867418 #18863D
split-complementary
#182A86 #863D18 #618618
monochromatic
#05091E #0F1A52 #182A86 #213ABA #3C56DC

Accessibility & contrast

On white

12.25
#182A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#182A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A86
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A86#FFFFFF#000000##FFFFFF
##182A861.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182a86;
/* rgb */ color: rgb(24, 42, 134);
/* oklch */ color: oklch(34.1% 0.154 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a63aa',
    500: '#182a86',
    950: '#000000',
  },
}
SCSS
$custom: #182a86;
$custom-light: #6a63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182a86",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 230.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34073,
    "c": 0.15405,
    "h": 267.9
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#182A86
secondary
#BAA640
accent
#CF3BEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182A86

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

Preview Lab → · Contrast checker → · Palette generator →

#182A86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva