#1843B4#1843B4

#1843B4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.185 H 264.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#1843B4
RGBrgb(24, 67, 180)
HSLhsl(223, 76%, 40%)
HSVhsv(223, 87%, 71%)
CMYKcmyk(86.7%, 62.8%, 0%, 29.4%)
CIE-LABlab(32.92, 29.94, -63.58)
CIE-LCHlch(32.92, 70.27, 295.21°)
OKLaboklab(43.3% -0.0191 -0.1841)
OKLCHoklch(43.3% 0.185 264.1)
XYZxyz(10.6191, 7.5024, 44.0596)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1843B4 #B48918
analogous
#1891B4 #1843B4 #3B18B4
triadic
#1843B4 #B41843 #43B418
tetradic
#1843B4 #B41891 #B48918 #18B43B
square
#1843B4 #B41891 #B48918 #18B43B
split-complementary
#1843B4 #B43B18 #91B418
monochromatic
#0A1B48 #112F7E #1843B4 #275BE2 #5D84E9

Accessibility & contrast

On white

8.40
#1843B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1843B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1843B4
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1843B4#FFFFFF#000000##FFFFFF
##1843B41.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1843b4;
/* rgb */ color: rgb(24, 67, 180);
/* oklch */ color: oklch(43.3% 0.185 264.1);
Tailwind
colors: {
  custom: {
    50: '#7476cb',
    500: '#1843b4',
    950: '#000000',
  },
}
SCSS
$custom: #1843b4;
$custom-light: #7476cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1843b4",
  "rgb": {
    "r": 24,
    "g": 67,
    "b": 180
  },
  "hsl": {
    "h": 223.462,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.18514,
    "h": 264.1
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1843B4

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

Preview Lab → · Contrast checker → · Palette generator →

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