#1832A1#1832A1

#1832A1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.180 H 266.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#1832A1
RGBrgb(24, 50, 161)
HSLhsl(229, 74%, 36%)
HSVhsv(229, 85%, 63%)
CMYKcmyk(85.1%, 68.9%, 0%, 36.9%)
CIE-LABlab(26.87, 33.86, -62.13)
CIE-LCHlch(26.87, 70.76, 298.59°)
OKLaboklab(38.3% -0.0111 -0.1801)
OKLCHoklch(38.3% 0.18 266.5)
XYZxyz(7.9481, 5.0476, 34.2667)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1832A1 #A18718
analogous
#1877A1 #1832A1 #4318A1
triadic
#1832A1 #A11832 #32A118
tetradic
#1832A1 #A11877 #A18718 #18A143
square
#1832A1 #A11877 #A18718 #18A143
split-complementary
#1832A1 #A14318 #77A118
monochromatic
#081136 #10216C #1832A1 #2043D6 #4F6BE5

Accessibility & contrast

On white

10.45
#1832A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1832A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1832A1
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1832A1#FFFFFF#000000##FFFFFF
##1832A11.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1832a1;
/* rgb */ color: rgb(24, 50, 161);
/* oklch */ color: oklch(38.3% 0.180 266.5);
Tailwind
colors: {
  custom: {
    50: '#716abe',
    500: '#1832a1',
    950: '#000000',
  },
}
SCSS
$custom: #1832a1;
$custom-light: #716abe;
$custom-dark: #000000;
JSON
{
  "hex": "#1832a1",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 228.613,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.18041,
    "h": 266.5
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#1832A1
secondary
#C7B04E
accent
#CD37F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1832A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1832A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva