#1846B4#1846B4

#1846B4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.182 H 263.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#1846B4
RGBrgb(24, 70, 180)
HSLhsl(222, 76%, 40%)
HSVhsv(222, 87%, 71%)
CMYKcmyk(86.7%, 61.1%, 0%, 29.4%)
CIE-LABlab(33.71, 27.94, -62.30)
CIE-LCHlch(33.71, 68.27, 294.15°)
OKLaboklab(43.88% -0.0206 -0.1804)
OKLCHoklch(43.88% 0.182 263.5)
XYZxyz(10.8021, 7.8684, 44.1206)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1846B4 #B48618
analogous
#1894B4 #1846B4 #3818B4
triadic
#1846B4 #B41846 #46B418
tetradic
#1846B4 #B41894 #B48618 #18B438
square
#1846B4 #B41894 #B48618 #18B438
split-complementary
#1846B4 #B43818 #94B418
monochromatic
#0A1C48 #11317E #1846B4 #275EE2 #5D86E9

Accessibility & contrast

On white

8.16
#1846B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1846B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1846B4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1846B4#FFFFFF#000000##FFFFFF
##1846B41.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1846b4;
/* rgb */ color: rgb(24, 70, 180);
/* oklch */ color: oklch(43.9% 0.182 263.5);
Tailwind
colors: {
  custom: {
    50: '#7478cb',
    500: '#1846b4',
    950: '#000000',
  },
}
SCSS
$custom: #1846b4;
$custom-light: #7478cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1846b4",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 180
  },
  "hsl": {
    "h": 222.308,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.43879,
    "c": 0.18154,
    "h": 263.5
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#1846B4
secondary
#CDAB5B
accent
#BB35F3
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1846B4

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

Preview Lab → · Contrast checker → · Palette generator →

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