#1846A8#1846A8

#1846A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.166 H 262.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#1846A8
RGBrgb(24, 70, 168)
HSLhsl(221, 75%, 38%)
HSVhsv(221, 86%, 66%)
CMYKcmyk(85.7%, 58.3%, 0%, 34.1%)
CIE-LABlab(32.70, 23.19, -56.79)
CIE-LCHlch(32.70, 61.34, 292.21°)
OKLaboklab(42.81% -0.0212 -0.1642)
OKLCHoklch(42.81% 0.166 262.7)
XYZxyz(9.6322, 7.4005, 37.9590)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1846A8 #A87A18
analogous
#188EA8 #1846A8 #3218A8
triadic
#1846A8 #A81846 #46A818
tetradic
#1846A8 #A8188E #A87A18 #18A832
square
#1846A8 #A8188E #A87A18 #18A832
split-complementary
#1846A8 #A83218 #8EA818
monochromatic
#09193D #103072 #1846A8 #205CDE #5483E7

Accessibility & contrast

On white

8.47
#1846A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1846A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1846A8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1846A8#FFFFFF#000000##FFFFFF
##1846A81.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1846a8;
/* rgb */ color: rgb(24, 70, 168);
/* oklch */ color: oklch(42.8% 0.166 262.7);
Tailwind
colors: {
  custom: {
    50: '#7178c3',
    500: '#1846a8',
    950: '#000000',
  },
}
SCSS
$custom: #1846a8;
$custom-light: #7178c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1846a8",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 220.833,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42813,
    "c": 0.16558,
    "h": 262.7
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#1846A8
secondary
#C9A353
accent
#B636F2
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090913
muted
#7B7B82

Preview Lab

Preview with #1846A8

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

Preview Lab → · Contrast checker → · Palette generator →

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