#2846AC#2846AC

#2846AC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.167 H 266.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2846AC
RGBrgb(40, 70, 172)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 77%, 67%)
CMYKcmyk(76.7%, 59.3%, 0%, 32.5%)
CIE-LABlab(33.58, 26.27, -57.72)
CIE-LCHlch(33.58, 63.42, 294.47°)
OKLaboklab(43.73% -0.0096 -0.1667)
OKLCHoklch(43.73% 0.167 266.7)
XYZxyz(10.5090, 7.8088, 39.9751)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846AC #AC8E28
analogous
#2888AC #2846AC #4C28AC
triadic
#2846AC #AC2846 #46AC28
tetradic
#2846AC #AC2888 #AC8E28 #28AC4C
square
#2846AC #AC2888 #AC8E28 #28AC4C
split-complementary
#2846AC #AC4C28 #88AC28
monochromatic
#111E49 #1C327A #2846AC #3F60D2 #7189DE

Accessibility & contrast

On white

8.20
#2846AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2846AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846AC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846AC#FFFFFF#000000##FFFFFF
##2846AC1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2846ac;
/* rgb */ color: rgb(40, 70, 172);
/* oklch */ color: oklch(43.7% 0.167 266.7);
Tailwind
colors: {
  custom: {
    50: '#7679c6',
    500: '#2846ac',
    950: '#000000',
  },
}
SCSS
$custom: #2846ac;
$custom-light: #7679c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2846ac",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 226.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4373,
    "c": 0.16698,
    "h": 266.7
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#2846AC
secondary
#C5B06B
accent
#C042E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2846AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2846AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva