#1847B4#1847B4

#1847B4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.180 H 263.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#1847B4
RGBrgb(24, 71, 180)
HSLhsl(222, 76%, 40%)
HSVhsv(222, 87%, 71%)
CMYKcmyk(86.7%, 60.6%, 0%, 29.4%)
CIE-LABlab(33.97, 27.27, -61.86)
CIE-LCHlch(33.97, 67.61, 293.79°)
OKLaboklab(44.08% -0.0211 -0.1791)
OKLCHoklch(44.08% 0.18 263.3)
XYZxyz(10.8652, 7.9946, 44.1416)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1847B4 #B48518
analogous
#1895B4 #1847B4 #3718B4
triadic
#1847B4 #B41847 #47B418
tetradic
#1847B4 #B41895 #B48518 #18B437
square
#1847B4 #B41895 #B48518 #18B437
split-complementary
#1847B4 #B43718 #95B418
monochromatic
#0A1C48 #11327E #1847B4 #275FE2 #5D87E9

Accessibility & contrast

On white

8.08
#1847B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1847B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1847B4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1847B4#FFFFFF#000000##FFFFFF
##1847B41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1847b4;
/* rgb */ color: rgb(24, 71, 180);
/* oklch */ color: oklch(44.1% 0.180 263.3);
Tailwind
colors: {
  custom: {
    50: '#7479cb',
    500: '#1847b4',
    950: '#000000',
  },
}
SCSS
$custom: #1847b4;
$custom-light: #7479cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1847b4",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 221.923,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.44076,
    "c": 0.18032,
    "h": 263.3
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1847B4

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

Preview Lab → · Contrast checker → · Palette generator →

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