#182DA1#182DA1

#182DA1 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.186 H 267.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#182DA1
RGBrgb(24, 45, 161)
HSLhsl(231, 74%, 36%)
HSVhsv(231, 85%, 63%)
CMYKcmyk(85.1%, 72%, 0%, 36.9%)
CIE-LABlab(25.69, 37.07, -64.07)
CIE-LCHlch(25.69, 74.02, 300.05°)
OKLaboklab(37.44% -0.0091 -0.1857)
OKLCHoklch(37.44% 0.186 267.2)
XYZxyz(7.7459, 4.6432, 34.1993)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182DA1 #A18C18
analogous
#1872A1 #182DA1 #4818A1
triadic
#182DA1 #A1182D #2DA118
tetradic
#182DA1 #A11872 #A18C18 #18A148
square
#182DA1 #A11872 #A18C18 #18A148
split-complementary
#182DA1 #A14818 #72A118
monochromatic
#080F36 #101E6C #182DA1 #203CD6 #4F66E5

Accessibility & contrast

On white

10.89
#182DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#182DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182DA1
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182DA1#FFFFFF#000000##FFFFFF
##182DA11.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #182da1;
/* rgb */ color: rgb(24, 45, 161);
/* oklch */ color: oklch(37.4% 0.186 267.2);
Tailwind
colors: {
  custom: {
    50: '#7166be',
    500: '#182da1',
    950: '#000000',
  },
}
SCSS
$custom: #182da1;
$custom-light: #7166be;
$custom-dark: #000000;
JSON
{
  "hex": "#182da1",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 230.803,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37443,
    "c": 0.18594,
    "h": 267.2
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#182DA1
secondary
#C7B44E
accent
#D437F1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #182DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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