#2846A2#2846A2

#2846A2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.153 H 266.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2846A2
RGBrgb(40, 70, 162)
HSLhsl(225, 60%, 40%)
HSVhsv(225, 75%, 64%)
CMYKcmyk(75.3%, 56.8%, 0%, 36.5%)
CIE-LABlab(32.79, 22.44, -53.03)
CIE-LCHlch(32.79, 57.58, 292.94°)
OKLaboklab(42.89% -0.01 -0.1529)
OKLCHoklch(42.89% 0.153 266.3)
XYZxyz(9.5845, 7.4390, 35.1062)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846A2 #A28428
analogous
#2883A2 #2846A2 #4728A2
triadic
#2846A2 #A22846 #46A228
tetradic
#2846A2 #A22883 #A28428 #28A247
square
#2846A2 #A22883 #A28428 #28A247
split-complementary
#2846A2 #A24728 #83A228
monochromatic
#101C40 #1C3171 #2846A2 #395ECE #6A86DA

Accessibility & contrast

On white

8.44
#2846A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2846A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2846A2#FFFFFF#000000##FFFFFF
##2846A21.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2846a2;
/* rgb */ color: rgb(40, 70, 162);
/* oklch */ color: oklch(42.9% 0.153 266.3);
Tailwind
colors: {
  custom: {
    50: '#7479be',
    500: '#2846a2',
    950: '#000000',
  },
}
SCSS
$custom: #2846a2;
$custom-light: #7479be;
$custom-dark: #000000;
JSON
{
  "hex": "#2846a2",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 225.246,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42885,
    "c": 0.15323,
    "h": 266.3
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#2846A2
secondary
#C1AA65
accent
#BC44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2846A2

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

Preview Lab → · Contrast checker → · Palette generator →

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