#2846A4#2846A4

#2846A4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.156 H 266.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2846A4
RGBrgb(40, 70, 164)
HSLhsl(225, 61%, 40%)
HSVhsv(225, 76%, 64%)
CMYKcmyk(75.6%, 57.3%, 0%, 35.7%)
CIE-LABlab(32.94, 23.21, -53.98)
CIE-LCHlch(32.94, 58.76, 293.27°)
OKLaboklab(43.05% -0.0099 -0.1557)
OKLCHoklch(43.05% 0.156 266.4)
XYZxyz(9.7637, 7.5107, 36.0499)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846A4 #A48628
analogous
#2884A4 #2846A4 #4828A4
triadic
#2846A4 #A42846 #46A428
tetradic
#2846A4 #A42884 #A48628 #28A448
square
#2846A4 #A42884 #A48628 #28A448
split-complementary
#2846A4 #A44828 #84A428
monochromatic
#101C42 #1C3173 #2846A4 #3A5ECF #6B86DB

Accessibility & contrast

On white

8.39
#2846A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2846A4#FFFFFF#000000##FFFFFF
##2846A41.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2846a4;
/* rgb */ color: rgb(40, 70, 164);
/* oklch */ color: oklch(43.1% 0.156 266.4);
Tailwind
colors: {
  custom: {
    50: '#7479c0',
    500: '#2846a4',
    950: '#000000',
  },
}
SCSS
$custom: #2846a4;
$custom-light: #7479c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2846a4",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 225.484,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.43051,
    "c": 0.156,
    "h": 266.4
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2846A4

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

Preview Lab → · Contrast checker → · Palette generator →

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