#2846AE#2846AE

#2846AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.170 H 266.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2846AE
RGBrgb(40, 70, 174)
HSLhsl(227, 63%, 42%)
HSVhsv(227, 77%, 68%)
CMYKcmyk(77%, 59.8%, 0%, 31.8%)
CIE-LABlab(33.74, 27.03, -58.65)
CIE-LCHlch(33.74, 64.58, 294.74°)
OKLaboklab(43.9% -0.0095 -0.1694)
OKLCHoklch(43.9% 0.17 266.8)
XYZxyz(10.7025, 7.8862, 40.9943)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846AE #AE9028
analogous
#2889AE #2846AE #4D28AE
triadic
#2846AE #AE2846 #46AE28
tetradic
#2846AE #AE2889 #AE9028 #28AE4D
square
#2846AE #AE2889 #AE9028 #28AE4D
split-complementary
#2846AE #AE4D28 #89AE28
monochromatic
#111E4A #1D327C #2846AE #4061D3 #728ADF

Accessibility & contrast

On white

8.15
#2846AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2846AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846AE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846AE#FFFFFF#000000##FFFFFF
##2846AE1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2846ae;
/* rgb */ color: rgb(40, 70, 174);
/* oklch */ color: oklch(43.9% 0.170 266.8);
Tailwind
colors: {
  custom: {
    50: '#7779c7',
    500: '#2846ae',
    950: '#000000',
  },
}
SCSS
$custom: #2846ae;
$custom-light: #7779c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2846ae",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 226.567,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.16969,
    "h": 266.8
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2846AE

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

Preview Lab → · Contrast checker → · Palette generator →

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