#2846AB#2846AB

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

Color values

HEX#2846AB
RGBrgb(40, 70, 171)
HSLhsl(226, 62%, 41%)
HSVhsv(226, 77%, 67%)
CMYKcmyk(76.6%, 59.1%, 0%, 32.9%)
CIE-LABlab(33.50, 25.89, -57.26)
CIE-LCHlch(33.50, 62.84, 294.33°)
OKLaboklab(43.64% -0.0096 -0.1653)
OKLCHoklch(43.64% 0.166 266.7)
XYZxyz(10.4133, 7.7706, 39.4712)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846AB #AB8D28
analogous
#2888AB #2846AB #4C28AB
triadic
#2846AB #AB2846 #46AB28
tetradic
#2846AB #AB2888 #AB8D28 #28AB4C
square
#2846AB #AB2888 #AB8D28 #28AB4C
split-complementary
#2846AB #AB4C28 #88AB28
monochromatic
#111D48 #1C3279 #2846AB #3E60D2 #7089DE

Accessibility & contrast

On white

8.22
#2846AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2846AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846AB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846AB#FFFFFF#000000##FFFFFF
##2846AB1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2846ab;
/* rgb */ color: rgb(40, 70, 171);
/* oklch */ color: oklch(43.6% 0.166 266.7);
Tailwind
colors: {
  custom: {
    50: '#7679c5',
    500: '#2846ab',
    950: '#000000',
  },
}
SCSS
$custom: #2846ab;
$custom-light: #7679c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2846ab",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 226.26,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.16562,
    "h": 266.7
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#2846AB
secondary
#C4B06A
accent
#C043E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2846AB

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

Preview Lab → · Contrast checker → · Palette generator →

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