#1841A5#1841A5

#1841A5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.168 H 263.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#1841A5
RGBrgb(24, 65, 165)
HSLhsl(223, 75%, 37%)
HSVhsv(223, 85%, 65%)
CMYKcmyk(85.5%, 60.6%, 0%, 35.3%)
CIE-LABlab(31.09, 25.39, -57.62)
CIE-LCHlch(31.09, 62.97, 293.78°)
OKLaboklab(41.53% -0.0184 -0.1667)
OKLCHoklch(41.53% 0.168 263.7)
XYZxyz(9.0561, 6.6903, 36.4041)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1841A5 #A57C18
analogous
#1888A5 #1841A5 #3518A5
triadic
#1841A5 #A51841 #41A518
tetradic
#1841A5 #A51888 #A57C18 #18A535
square
#1841A5 #A51888 #A57C18 #18A535
split-complementary
#1841A5 #A53518 #88A518
monochromatic
#08173A #102C70 #1841A5 #2056DA #527DE6

Accessibility & contrast

On white

8.98
#1841A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1841A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1841A5
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1841A5#FFFFFF#000000##FFFFFF
##1841A51.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1841a5;
/* rgb */ color: rgb(24, 65, 165);
/* oklch */ color: oklch(41.5% 0.168 263.7);
Tailwind
colors: {
  custom: {
    50: '#7075c1',
    500: '#1841a5',
    950: '#000000',
  },
}
SCSS
$custom: #1841a5;
$custom-light: #7075c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1841a5",
  "rgb": {
    "r": 24,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 222.553,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41527,
    "c": 0.16775,
    "h": 263.7
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#1841A5
secondary
#C8A551
accent
#BB37F1
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1841A5

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

Preview Lab → · Contrast checker → · Palette generator →

#1841A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva