#1843A8#1843A8

#1843A8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.169 H 263.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1843A8
RGBrgb(24, 67, 168)
HSLhsl(222, 75%, 38%)
HSVhsv(222, 86%, 66%)
CMYKcmyk(85.7%, 60.1%, 0%, 34.1%)
CIE-LABlab(31.89, 25.22, -58.12)
CIE-LCHlch(31.89, 63.36, 293.46°)
OKLaboklab(42.2% -0.0194 -0.1682)
OKLCHoklch(42.2% 0.169 263.4)
XYZxyz(9.4492, 7.0345, 37.8980)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1843A8 #A87D18
analogous
#188BA8 #1843A8 #3518A8
triadic
#1843A8 #A81843 #43A818
tetradic
#1843A8 #A8188B #A87D18 #18A835
square
#1843A8 #A8188B #A87D18 #18A835
split-complementary
#1843A8 #A83518 #8BA818
monochromatic
#09183D #102E72 #1843A8 #2058DE #5480E7

Accessibility & contrast

On white

8.72
#1843A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1843A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1843A8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1843A8#FFFFFF#000000##FFFFFF
##1843A81.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1843a8;
/* rgb */ color: rgb(24, 67, 168);
/* oklch */ color: oklch(42.2% 0.169 263.4);
Tailwind
colors: {
  custom: {
    50: '#7176c3',
    500: '#1843a8',
    950: '#000000',
  },
}
SCSS
$custom: #1843a8;
$custom-light: #7176c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1843a8",
  "rgb": {
    "r": 24,
    "g": 67,
    "b": 168
  },
  "hsl": {
    "h": 222.083,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.422,
    "c": 0.1693,
    "h": 263.4
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#1843A8
secondary
#C9A653
accent
#BA36F2
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1843A8

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

Preview Lab → · Contrast checker → · Palette generator →

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