#2846AA#2846AA

#2846AA is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.164 H 266.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2846AA
RGBrgb(40, 70, 170)
HSLhsl(226, 62%, 41%)
HSVhsv(226, 76%, 67%)
CMYKcmyk(76.5%, 58.8%, 0%, 33.3%)
CIE-LABlab(33.42, 25.51, -56.79)
CIE-LCHlch(33.42, 62.26, 294.18°)
OKLaboklab(43.56% -0.0096 -0.164)
OKLCHoklch(43.56% 0.164 266.6)
XYZxyz(10.3184, 7.7326, 38.9711)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846AA #AA8C28
analogous
#2887AA #2846AA #4B28AA
triadic
#2846AA #AA2846 #46AA28
tetradic
#2846AA #AA2887 #AA8C28 #28AA4B
square
#2846AA #AA2887 #AA8C28 #28AA4B
split-complementary
#2846AA #AA4B28 #87AA28
monochromatic
#111D47 #1C3278 #2846AA #3E60D2 #6F89DD

Accessibility & contrast

On white

8.25
#2846AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2846AA#FFFFFF#000000##FFFFFF
##2846AA1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2846aa;
/* rgb */ color: rgb(40, 70, 170);
/* oklch */ color: oklch(43.6% 0.164 266.6);
Tailwind
colors: {
  custom: {
    50: '#7679c4',
    500: '#2846aa',
    950: '#000000',
  },
}
SCSS
$custom: #2846aa;
$custom-light: #7679c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2846aa",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 226.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43558,
    "c": 0.16425,
    "h": 266.6
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2846AA

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

Preview Lab → · Contrast checker → · Palette generator →

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