#182FA1#182FA1

#182FA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.184 H 266.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#182FA1
RGBrgb(24, 47, 161)
HSLhsl(230, 74%, 36%)
HSVhsv(230, 85%, 63%)
CMYKcmyk(85.1%, 70.8%, 0%, 36.9%)
CIE-LABlab(26.16, 35.80, -63.30)
CIE-LCHlch(26.16, 72.72, 299.49°)
OKLaboklab(37.78% -0.0099 -0.1835)
OKLCHoklch(37.78% 0.184 266.9)
XYZxyz(7.8240, 4.7995, 34.2253)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182FA1 #A18A18
analogous
#1874A1 #182FA1 #4618A1
triadic
#182FA1 #A1182F #2FA118
tetradic
#182FA1 #A11874 #A18A18 #18A146
square
#182FA1 #A11874 #A18A18 #18A146
split-complementary
#182FA1 #A14618 #74A118
monochromatic
#081036 #101F6C #182FA1 #203FD6 #4F68E5

Accessibility & contrast

On white

10.71
#182FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#182FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182FA1
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182FA1#FFFFFF#000000##FFFFFF
##182FA11.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #182fa1;
/* rgb */ color: rgb(24, 47, 161);
/* oklch */ color: oklch(37.8% 0.184 266.9);
Tailwind
colors: {
  custom: {
    50: '#7168be',
    500: '#182fa1',
    950: '#000000',
  },
}
SCSS
$custom: #182fa1;
$custom-light: #7168be;
$custom-dark: #000000;
JSON
{
  "hex": "#182fa1",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 229.927,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37777,
    "c": 0.18377,
    "h": 266.9
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#182FA1
secondary
#C7B34E
accent
#D237F1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #182FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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