#1841A8#1841A8

#1841A8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.172 H 263.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#1841A8
RGBrgb(24, 65, 168)
HSLhsl(223, 75%, 38%)
HSVhsv(223, 86%, 66%)
CMYKcmyk(85.7%, 61.3%, 0%, 34.1%)
CIE-LABlab(31.35, 26.58, -59.00)
CIE-LCHlch(31.35, 64.71, 294.25°)
OKLaboklab(41.8% -0.0183 -0.1708)
OKLCHoklch(41.8% 0.172 263.9)
XYZxyz(9.3323, 6.8008, 37.8590)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1841A8 #A87F18
analogous
#1889A8 #1841A8 #3718A8
triadic
#1841A8 #A81841 #41A818
tetradic
#1841A8 #A81889 #A87F18 #18A837
square
#1841A8 #A81889 #A87F18 #18A837
split-complementary
#1841A8 #A83718 #89A818
monochromatic
#09183D #102C72 #1841A8 #2056DE #547EE7

Accessibility & contrast

On white

8.90
#1841A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1841A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1841A8
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1841A8#FFFFFF#000000##FFFFFF
##1841A81.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1841a8;
/* rgb */ color: rgb(24, 65, 168);
/* oklch */ color: oklch(41.8% 0.172 263.9);
Tailwind
colors: {
  custom: {
    50: '#7175c3',
    500: '#1841a8',
    950: '#000000',
  },
}
SCSS
$custom: #1841a8;
$custom-light: #7175c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1841a8",
  "rgb": {
    "r": 24,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 222.917,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.418,
    "c": 0.17176,
    "h": 263.9
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#1841A8
secondary
#C9A753
accent
#BC36F2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1841A8

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

Preview Lab → · Contrast checker → · Palette generator →

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