#1842B4#1842B4

#1842B4 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.186 H 264.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1842B4
RGBrgb(24, 66, 180)
HSLhsl(224, 76%, 40%)
HSVhsv(224, 87%, 71%)
CMYKcmyk(86.7%, 63.3%, 0%, 29.4%)
CIE-LABlab(32.67, 30.60, -64.00)
CIE-LCHlch(32.67, 70.94, 295.55°)
OKLaboklab(43.11% -0.0187 -0.1854)
OKLCHoklch(43.11% 0.186 264.3)
XYZxyz(10.5602, 7.3846, 44.0399)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1842B4 #B48A18
analogous
#1890B4 #1842B4 #3C18B4
triadic
#1842B4 #B41842 #42B418
tetradic
#1842B4 #B41890 #B48A18 #18B43C
square
#1842B4 #B41890 #B48A18 #18B43C
split-complementary
#1842B4 #B43C18 #90B418
monochromatic
#0A1A48 #112E7E #1842B4 #2759E2 #5D83E9

Accessibility & contrast

On white

8.48
#1842B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1842B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1842B4
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1842B4#FFFFFF#000000##FFFFFF
##1842B41.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1842b4;
/* rgb */ color: rgb(24, 66, 180);
/* oklch */ color: oklch(43.1% 0.186 264.3);
Tailwind
colors: {
  custom: {
    50: '#7476cb',
    500: '#1842b4',
    950: '#000000',
  },
}
SCSS
$custom: #1842b4;
$custom-light: #7476cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1842b4",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 223.846,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.43105,
    "c": 0.18634,
    "h": 264.3
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#1842B4
secondary
#CDAE5B
accent
#C035F3
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1842B4

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

Preview Lab → · Contrast checker → · Palette generator →

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