#1841B4#1841B4

#1841B4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.188 H 264.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1841B4
RGBrgb(24, 65, 180)
HSLhsl(224, 76%, 40%)
HSVhsv(224, 87%, 71%)
CMYKcmyk(86.7%, 63.9%, 0%, 29.4%)
CIE-LABlab(32.41, 31.26, -64.42)
CIE-LCHlch(32.41, 71.60, 295.89°)
OKLaboklab(42.92% -0.0182 -0.1866)
OKLCHoklch(42.92% 0.188 264.4)
XYZxyz(10.5023, 7.2687, 44.0206)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1841B4 #B48B18
analogous
#188FB4 #1841B4 #3D18B4
triadic
#1841B4 #B41841 #41B418
tetradic
#1841B4 #B4188F #B48B18 #18B43D
square
#1841B4 #B4188F #B48B18 #18B43D
split-complementary
#1841B4 #B43D18 #8FB418
monochromatic
#0A1A48 #112D7E #1841B4 #2758E2 #5D82E9

Accessibility & contrast

On white

8.56
#1841B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1841B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1841B4
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1841B4#FFFFFF#000000##FFFFFF
##1841B41.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1841b4;
/* rgb */ color: rgb(24, 65, 180);
/* oklch */ color: oklch(42.9% 0.188 264.4);
Tailwind
colors: {
  custom: {
    50: '#7475cb',
    500: '#1841b4',
    950: '#000000',
  },
}
SCSS
$custom: #1841b4;
$custom-light: #7475cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1841b4",
  "rgb": {
    "r": 24,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 224.231,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.18753,
    "h": 264.4
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#1841B4
secondary
#CDAF5B
accent
#C135F3
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1841B4

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

Preview Lab → · Contrast checker → · Palette generator →

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