#2846AD#2846AD

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

Color values

HEX#2846AD
RGBrgb(40, 70, 173)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 77%, 68%)
CMYKcmyk(76.9%, 59.5%, 0%, 32.2%)
CIE-LABlab(33.66, 26.65, -58.19)
CIE-LCHlch(33.66, 64.00, 294.61°)
OKLaboklab(43.82% -0.0096 -0.1681)
OKLCHoklch(43.82% 0.168 266.7)
XYZxyz(10.6054, 7.8474, 40.4828)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846AD #AD8F28
analogous
#2889AD #2846AD #4D28AD
triadic
#2846AD #AD2846 #46AD28
tetradic
#2846AD #AD2889 #AD8F28 #28AD4D
square
#2846AD #AD2889 #AD8F28 #28AD4D
split-complementary
#2846AD #AD4D28 #89AD28
monochromatic
#111E4A #1D327B #2846AD #3F61D3 #718ADE

Accessibility & contrast

On white

8.17
#2846AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2846AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846AD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846AD#FFFFFF#000000##FFFFFF
##2846AD1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2846ad;
/* rgb */ color: rgb(40, 70, 173);
/* oklch */ color: oklch(43.8% 0.168 266.7);
Tailwind
colors: {
  custom: {
    50: '#7779c6',
    500: '#2846ad',
    950: '#000000',
  },
}
SCSS
$custom: #2846ad;
$custom-light: #7779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2846ad",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 226.466,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43816,
    "c": 0.16833,
    "h": 266.7
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#2846AD
secondary
#C5B16C
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2846AD

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

Preview Lab → · Contrast checker → · Palette generator →

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