#2846A3#2846A3

#2846A3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.155 H 266.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2846A3
RGBrgb(40, 70, 163)
HSLhsl(225, 61%, 40%)
HSVhsv(225, 75%, 64%)
CMYKcmyk(75.5%, 57.1%, 0%, 36.1%)
CIE-LABlab(32.86, 22.83, -53.50)
CIE-LCHlch(32.86, 58.17, 293.11°)
OKLaboklab(42.97% -0.0099 -0.1543)
OKLCHoklch(42.97% 0.155 266.3)
XYZxyz(9.6738, 7.4747, 35.5762)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846A3 #A38528
analogous
#2883A3 #2846A3 #4828A3
triadic
#2846A3 #A32846 #46A328
tetradic
#2846A3 #A32883 #A38528 #28A348
square
#2846A3 #A32883 #A38528 #28A348
split-complementary
#2846A3 #A34828 #83A328
monochromatic
#101C41 #1C3172 #2846A3 #3A5ECF #6B86DB

Accessibility & contrast

On white

8.42
#2846A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2846A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2846A3#FFFFFF#000000##FFFFFF
##2846A31.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2846a3;
/* rgb */ color: rgb(40, 70, 163);
/* oklch */ color: oklch(43.0% 0.155 266.3);
Tailwind
colors: {
  custom: {
    50: '#7479bf',
    500: '#2846a3',
    950: '#000000',
  },
}
SCSS
$custom: #2846a3;
$custom-light: #7479bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2846a3",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 163
  },
  "hsl": {
    "h": 225.366,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42968,
    "c": 0.15462,
    "h": 266.3
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#2846A3
secondary
#C1AB66
accent
#BD44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2846A3

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

Preview Lab → · Contrast checker → · Palette generator →

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